Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning Values when using Store Procedures
Message
De
29/06/2006 04:53:14
 
 
À
28/06/2006 21:59:23
Information générale
Forum:
Visual Basic
Catégorie:
SQL Server
Divers
Thread ID:
01132618
Message ID:
01132646
Vues:
11
This message has been marked as a message which has helped to the initial question of the thread.
You SP myStoredProcedure should return an output parameter value.
specify the return value in SQL Server SP after the insert as
return @@IDENTITY

This completes one part. Now in VB code use command object to execute the SP.
specify output Parameters for the command. When you execute the command, the parameter automatically contains the value of SP's output parameter.
Best Luck..
Nilesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform