----- Original Message ----- 
From: "Rob Ransbottom" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 04, 2002 6:05 AM
Subject: beginning work with DBI


> Using DBI how do you explicitly start a transaction?
> I wish to explicitly 'begin work' to avoid the merging
> of separate transactions.

Read the Fine docs.
There is a begin_work method, but instead of that, you usually just
set AutoCommit off, and use the commit method when you need to
commit. Then commit automatically starts a new transaction.

If you have AutoCommit set on, then 'begin_work' will disable AutoCommit
until you call 'commit'.

HTH

-----------------
Douglas Wilson
Perl Hacker for Hire (Inquire Within)


Reply via email to