December 4, 2008 at 2:38 am
Hi,
i am new to sql server 2000:
from last 5 hours one of the perl script is showing RUNNABLE(sp_who2) in database and for that particular spid i can see 3 objid(sp_lock) anybody help me out to find object name from objid. and mode lock is Sch-S is i need to worry about this mode of lock.
Thanks
Prakash
December 4, 2008 at 2:47 am
If you want get object_name using object_id.
you can use the following command
select object_name(object_id)
ex:
select object_name(1000)
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy