Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to determine if a transaction is still pending in SQ
Message
De
01/05/2007 11:13:21
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01221475
Message ID:
01221503
Vues:
8
Well, the help states that @@ROWCOUNT should work, however, it returned 1 in a field (similar to how COUNT works) and when I tried to use rollback (because @@ROWCOUNT was > 0) it returned the ODBC Err# 3903, (1526) The Rollback transaction request has no corresponding BEGIN TRANSACTION. So why did it return 1 then?



>>Yes and I did not write it. I am just fixing what I can (as I find problems). Changing that would involve a change to the base classes... Don't even start... :o)
>>
>I see. Best of luck then! :)
>
>In the long run you may end up with a change in the base class, though. Otherwise you may have serious problems...
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform