Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trigger Invocation Cancel All Work
Message
De
22/10/2001 10:53:18
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Trigger Invocation Cancel All Work
Divers
Thread ID:
00571639
Message ID:
00571639
Vues:
49
Hello,

I need some help about this:

I've a trigger in a table that writes some data in another table of another database, but the main problem it's when the local application send a group of updates to the triggered table all the process betewwen this instructions

set implicit transaction on

insert into table1 (...)
update table 2 (...) /* This it's the triggered table */

'IF @@TRANCOUNT > 0 COMMIT TRAN'
set implicit transaction off

simple disapear! It's like the transactions were not comitted...

Ideas?!

Thanks,
Manuel Almeida
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform