Mapping the @@spid of TSQL to DB2

This is a discussion on Mapping the @@spid of TSQL to DB2 within the db2-udb forums in Other Databases category; Hi, I am trying to convert several Stored Procedures from TSQL (Sybase) to DB2 using the MTK Tool. However the tool can not convert the global variable @@spid. Is there anybody that can help me to figure out how I can implement the @@spid in DB2 ?? Is the @@spid equal to the Aplication handle in DB2?? Thanks in advance. Juan Carlos Huitzache....

Go Back   Database Forum > Other Databases > db2-udb

Database Forums

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 01-09-2006, 10:02 AM
Default Mapping the @@spid of TSQL to DB2

Hi,
I am trying to convert several Stored Procedures from TSQL (Sybase) to DB2 using the MTK Tool. However the tool can not convert the global variable @@spid.
Is there anybody that can help me to figure out how I can implement the @@spid in DB2 ?? Is the @@spid equal to the Aplication handle in DB2??

Thanks in advance.
Juan Carlos Huitzache.
Reply With Quote
Reply


Thread Tools
Display Modes



All times are GMT -4. The time now is 05:17 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Integrated by bbpixel2009 :: jvbPlugin R1013.368.1

Search Engine Friendly URLs by vBSEO 3.1.0
vB Ad Management by =RedTyger=
In an effort to better serve ads to our visitors, cookies are used on Mydatabasesupport.com. For more information, check out our Privacy Policy.