Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set Query Results to 'File' to Text in script
Message
 
 
To
25/03/2010 13:29:14
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Miscellaneous
Thread ID:
01457214
Message ID:
01457216
Views:
45
>A little but annoying thing. Is there any way to set Query Results to "File" or "Text" in a script?
>Googling has not turned up anything.
>
> I know I can do it in SSMS, but I would like to be able to just set it in my scripts.
>


You have to run your script from one of SQL Server command-line utilities like BCP or SQLCMD (2005 and later).
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform