Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Created .sql scripts from scripts
Message
 
 
À
20/01/2010 14:08:16
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Versions des environnements
SQL Server:
SQL Server 2008
Divers
Thread ID:
01444928
Message ID:
01445072
Vues:
57
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform