dbTalk Databases Forums  

transaction id and transaction isolation

comp.databases.sybase comp.databases.sybase


Discuss transaction id and transaction isolation in the comp.databases.sybase forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Alex
 
Posts: n/a

Default transaction id and transaction isolation - 07-21-2003 , 02:56 AM






Hi

Two questions. I am using Sybase ASE 12.5 on Linux.

1. I would like to be able to get hold of the transaction id while
still in the tranasction but I have been unable to find a function
that will return it to me. At the moment I am using the @@spid as the
nearest I could find. Any suggestions?

2. I have a table in my database that I would like one user to be
writing to while another user will be reading from it. The user
reading from the table should only be reading already committed rows -
so that any rows that are being added in user 1's transaction that is
ongoing will not be read by user 2. I have set my isolation level to
read committed with no luck. In SQLServer to achieve this I needed to
set a hint as well - is there something extra I should be setting in
Sybase or will I not be able to achieve this behaviour?

TIA
Alex

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.