Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro
Message
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Titre:
Macro
Divers
Thread ID:
00746458
Message ID:
00746458
Vues:
52
Hi All:
Is there a way I can create a macro in SQL?
For Example
This is what I want to do.

Declare @lcTablename Varchar(30)
Set @lcTableName = (Select Name from cSetUp0

Select * From @lcTableName

@lcTableName varries depending on the situations. I do not want to issue the same code everytime. I want to store the table name in @lcTablename, just like vfp.

Thanks
MA
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform