Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cursor syntax
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
Cursor syntax
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01340333
Message ID:
01340333
Vues:
59
Hi all!

I need to create a cursor using the following syntax but I need to define my Select String base on the values that I receive. In other word I need to construct the Select statement first. Can I do that?

Declare @SQLStatement = "Select * From AOP_Financial Journal"

declare TempGregorio CURSOR for @SQLStatement.
Gregorio J. Placeres
IT Analyst
Uniform Accounting Network
Auditor of State of Ohio
88 East Broad Street
P.O. Box 1140
Columbus, Ohio 43216-1140

Tel. 614-728-4694

Gregorio_J@MSN.COM

http://www.gjpproductions.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform