Thank Paul,
That gives me another option in the future. I was able to figure another way of doing it. I just created a .bat file that executed the stored proc with the parameters to remove the headers (-h-1), comments (nocount), and pipe output (-O). This is acutually better, since ultimately...
1) Is there anything in MSQL similar to a 'spool' cmd in Oracle? I want to save query results to a file, thats all.
2) How can I turn the headings off in query results. I know about the -h-1 option, but how do I do this in a query?
Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.