Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-06-01 : 07:34:40
|
| Cristiano writes "I want to get the value of Id Transaction inside of a procedure.In SQL 2000 we have a field Syslockinfo.req_transactionID.In the other hand, in the SQL 6.5 the field appears at the Profiler columns, but don't exists at the "sys" tables.How can I get it?" |
|
|
derrickleggett
Pointy Haired Yak DBA
4184 Posts |
Posted - 2004-06-01 : 08:28:46
|
| You need to add TransactionID to your Profiler.MeanOldDBAderrickleggett@hotmail.comWhen life gives you a lemon, fire the DBA. |
 |
|
|
cristianomaia
Starting Member
4 Posts |
Posted - 2004-06-01 : 09:32:41
|
| But I need to work inside the triggers and procedures with the value of Transaction ID.For example in SQL 2000:DECLARE @TRANSACTION_ID INTSELECT @TRANSACTION_ID = SEQ_TRANSACTIONIDFROM SYSLOCKINFOWHERE SPID = @@SPIDI'm working with the SQL 7.0.I open a new topic "Transaction ID" at the directory:All Forums\SQL Server Forums\Transact SQLDate 26/05/2004Could you help me? |
 |
|
|
|
|
|