Re: all about transaction

From: Hugo Kornelis (hugo_at_pe_NO_rFact.in_SPAM_fo)
Date: 12/14/04


Date: Tue, 14 Dec 2004 12:13:25 +0100

On Tue, 14 Dec 2004 02:09:03 -0800, Deepson Thomas wrote:

>Hi Hugo thanks once again ... i got the words chained and unchained from
>sybase sqlserver ref...
(snip)

Hi Deepson,

Well, Sybase is not SQL Server, though they do have the same ancestry.

Based on your explanation of chained and unchaiend transactions in Sybase,
I think that the only thing that is roughly comparable in SQL Server is
the SET IMPLICIT_TRANSACTIONS [ON | OFF] command.

With this setting on, most SQL statements (see Books Online for the full
list) will automatically begin a transaction if one isn't active. This
transaction will remain open until explicitly committed or rolled back or
until an error condition occurs that implicitly rolls back the open
transaction.

With the implicit transaction setting off, transactions will only be
started when an explicit BEGIN TRANSACTION is executed. Statements that
are not enclosed in a transaction will still be executed as ATOMIC
operations (as if the statement itself was enclosed between BEGIN TRAN and
COMMIT TRAN).

Best, Hugo

-- 
(Remove _NO_ and _SPAM_ to get my e-mail address)


Relevant Pages

  • Re: PROBLEM WITH TRANSACTIONS
    ... Columnist, SQL Server Professional ... SET TRANSACTION ISOLATION LEVEL READ COMMITTED;BEGIN TRANSACTION --front end ... > code is issuing its own BEGIN TRAN. ... commit tran MyTran ...
    (microsoft.public.sqlserver.programming)
  • transaction error??
    ... Theere are two sql server in different city,I connect then with VPN, then I ... BEGIN DISTRIBUTED TRANSACTION ... SET NOCOUNT OFF ...
    (microsoft.public.sqlserver.programming)
  • Re: Is Interbase still thriving?
    ... short of reengineering the whole SQL and database structure around ... But, considering, as I said, that DB2, Sybase ASE and MS SQL shares ... this approach to transaction consistency, do you really think it could ... Oracle DB. ...
    (borland.public.delphi.non-technical)
  • Re: Update withou transaction log?
    ... transaction, for example by setting 'set rowcount 10000'? ... Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0 ... "The Complete Sybase Replication Server Quick Reference Guide" ... "The Complete Sybase ASE Quick Reference Guide" ...
    (comp.databases.sybase)
  • Re: begin tran issues
    ... Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0 ... "The Complete Sybase ASE Quick Reference Guide" ... begin transaction statement that in order for the transaction to be ... If I run this whole statement and then run a rollback statement the ...
    (comp.databases.sybase)