Re: OCI - HowTo set rollback segment for transaction??

From: DriftWood <drift_wood_at_my-deja.com>
Date: Tue, 07 Mar 2000 19:18:04 GMT
Message-ID: <8a3kl6$3sd$1_at_nnrp1.deja.com>


[Quoted] You can simply execute this SQL as the first statement in your transaction... I looked to see if there was an attribute for this on the transaction handle or a way to set it when initializing the transaction and there doesn't appear to be any way other than just using the SQL.

So you do OCITransStart(...) followed by an OCIStmtPrepare(...), OCIStmtExecute(...) of the SQL just as you posted.

--
-cheers

  DW



"It is a kind of good deed to say well; and yet words are not deeds.   -William Shakespeare"

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Tue Mar 07 2000 - 20:18:04 CET

Original text of this message