Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored Procedure return value
Message
De
15/12/1999 15:26:38
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Titre:
Stored Procedure return value
Divers
Thread ID:
00304317
Message ID:
00304317
Vues:
47
I created a huge SQL Server stored procedure from within the *VB IDE* and is part of the data environment. I have the entire procedure sandwiched between a BEGIN TRANSACTION and a COMMIT. It does not return a recordset. I have in the VB procedure something like the following:

Public de As New DataEnvironment1
de.sp_updateSubmitted date

The problem is how do I know if the entire transaction succeeded or failed. If I add an OUTPUT PARAMETER to the stored procedure VB complains. If I try:

nRetVal = de.sp_updateSubmitted date - VB does not like that either.
Ernest
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform