Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Server return value
Message
De
15/12/1999 13:12:28
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Titre:
SQL Server return value
Divers
Thread ID:
00304181
Message ID:
00304181
Vues:
46
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
Répondre
Fil
Voir

Click here to load this message in the networking platform