Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Created .sql scripts from scripts
Message
 
 
To
20/01/2010 14:08:16
General information
Forum:
Microsoft SQL Server
Category:
Scripting
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01444928
Message ID:
01445072
Views:
58
This message has been marked as the solution to the initial question of the thread.
What about
PRINT '/*'
USE Whatever
PRINT '*/'
>No I didn't - thanks I will.
>
>One problem I just noticed :
>
>I am running xp_cmdshell from master.
>
>the script does an explicit USE of the Membership database before it gets the list of indexes
>
>The output script, before it gets to the DROP lines created, has a line
>
>Changed database context to 'membership'.
>
>which will, of course, error when I try to run the .SQL script. Is there a way to suppress that line as part of the output ?
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform