Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Troubleshoot
Message
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Troubleshoot
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01159501
Message ID:
01159501
Vues:
60
Hi All,
I this simple t-sql statement:


Declare @Meet char(10),
@cmd varchar(20)

set @Meet = 'Meet152'
Select @Cmd = 'Use ' + @Meet
exec(@cmd)

When I execute this in a query analyzer, it completes successfully, however this does not opens a Meet152 database.

What am I doing wrong here?

Thanks so much!!!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform