Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: pro C and transactions...

Re: pro C and transactions...

From: Thomas Kyte <tkyte_at_us.oracle.com>
Date: Mon, 20 Dec 1999 12:27:21 -0500
Message-ID: <jlps5sch06jogt8e1s3comms4lsmpmrebq@4ax.com>


A copy of this was sent to sat <satya_at_nowhere.com> (if that email address didn't require changing) On Mon, 20 Dec 1999 15:30:39 GMT, you wrote:

>Hi all,
>
>help out a newbie ...
>
>How do I specify the start of a transaction ?
>
>I connect using this statement
> EXEC SQL CONNECT :uid IDENTIFIED BY :pwd
> USING :conn_str;
>
>I am not sure how to indicate the start of a transaction
>Can I use EXEC SQL SAVEPOINT start_delete;
>to indicate the start of my transaction ?
>
>thanks in adv,
>-satya

a transaction is implicity begun with the first statement. there is no need for "begin work" (and no syntax for such) -- it is implied.

--
See http://osi.oracle.com/~tkyte/ for my columns 'Digging-in to Oracle8i'... Current article is "Part I of V, Autonomous Transactions" updated June 21'st  

Thomas Kyte                   tkyte_at_us.oracle.com
Oracle Service Industries     Reston, VA   USA

Opinions are mine and do not necessarily reflect those of Oracle Corporation Received on Mon Dec 20 1999 - 11:27:21 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US