Page 1 of 1

"PRAGMA AUTONOMOUS TRANSACTION"

Posted: Tue 08 Aug 2006 14:24
by niniramos
how can i make one "PRAGMA AUTONOMOUS TRANSACTION" with oracle data access components???

thanks

Posted: Thu 10 Aug 2006 14:38
by Plash
You can set to TOraQuery.SQL or TOraSQL.SQL property a PL/SQL block containing PRAGMA AUTONOMOUS TRANSACTION. Call Execute method of component, and SQL will be executed in autonomous transaction.