Hi Experts,
Quick question about using Spool command. Basically i wanted to run a script which has multiple queries and i wanted to see the execution output along with actual script.
Below is my try,
sqlcmd -i D:\Sample\SpoolCheck.sql -o D:\Sample\SpoolCheck.txt
I have create sample table in the above mentioned sql file. When i execute the dos command i don't see the execution result. please advice me if we have any other way doing this?
Thanks in advance.