Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing parameters from VFP to Stored Procedures
Message
De
10/09/2001 09:36:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Passing parameters from VFP to Stored Procedures
Divers
Thread ID:
00554615
Message ID:
00554615
Vues:
58
Question...

Many of our current VFP queries utilize macro-expansion heavily....we have many instances of...

SELECT &cFldList FROM &cFileList WHERE &cJoin GROUP BY &cGroup

We'd like to convert some of these to Stored Procs in SQL Server, and then use SQLEXEC from VFP to call them. However, I haven't been able to figure out the syntax in T-SQL. I'm interested in all the parameters (field list, file list, join clause, and group by), but specifically the group by...basically, having it be variable at runtime.

Can this be done?

Thanks,
Kevin
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform