Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating unique id numbers
Message
De
16/08/2000 11:26:56
 
 
À
16/08/2000 09:12:44
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Stored procedures, Triggers, UDFs
Divers
Thread ID:
00404882
Message ID:
00405535
Vues:
18
Mike,

I am using manual in VFP. My "middle tier" class automatically issues the rollback/commit every time it is run.

I have had no probelms with this, but do a double-take when someone like you (ie smart) advises otherwise. What specifically are scenarios where I would have a problem with this?

Thanks,
Ken

>The last time I checked, VFP implemented "manual" transaction using SQL Server implicit transaction setting. When you enable implicit transaction, an explicit transaction is automatically started whenever a DML query is submitted to the server. The transaction is in place until the user explicit terminates it with either a COMMIT or ROLLBACK. The fun begins when the next DML query is submitted, which automatically starts another explicit transaction. Hence the reason that you need to disable VFP's manual transactions.
>
>-Mike
Ken B. Matson
GCom2 Solutions
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform