• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

comments and microsoft sql server

wildwolf

Golden Member
Hi. I've got a few SQL query files that I wrote and want to execute on MS SQL Server.

These statements contain comments before each SQL QUERY telling me in rough English what the Query is attempting to do.

What I want to occur when I execute one of my SQL query files is the following:

All commands (both comments and the SQL statements) are echoed to the log file as each query statement is executed, and then the resutls for that query also echoed/spooled to the log file.

So far, I can only get the first 3 lines of the top of each file to "echo" to the spool file.

Any help appreciated, welcomed.

Roger
 
Anybody?

I can spool the results to file, but would really like to get my comments in there as well. 🙂
 
Back
Top