Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
RollBack transaction doesn't work
Message
 
 
À
24/11/2009 11:44:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01436291
Message ID:
01436386
Vues:
49
>>Did you try passing 3 commands to one command as a batch?
>
>Hi, Naomi
>
>I don't tried... because I rejected this sugestion - excuse me
>
>I have another SQL commands(insert, update, delete) to put between Begin and Commit/Rollback transaction

IMHO, you have to try them.

Otherwise use ADO Transactions, not SQL Server transactions as in your code.

Check this article (the principle should apply even if it's written for .NET):

http://www.code-magazine.com/Article.aspx?QuickID=0311051
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform