Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parsing and returning data from an SQL stored procedure
Message
De
29/01/2004 11:37:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Parsing and returning data from an SQL stored procedure
Divers
Thread ID:
00871837
Message ID:
00871837
Vues:
58
Hi

I'm looking to parse a unique ID into an SQL stored procedure, then return the number of records that match that criteria. On my SQL server I have the following stored procedure:

CREATE Procedure [ApplicationUserFind(Primary)]
@UserID numeric
Output as select * from [ApplicationUser] where [User_ID] = @UserID
GO

What would the command be from VFP to parse the user ID into the stored procedure, then return the number of records (or a dataset thereof)? I can create the SQL connection handle fine, it's the syntax of SQLExec() that I'm interested in.

Regards

Derek
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform