_覓 | 覦覈襦 | 豕蠏手 | 殊螳 | 譯殊碁 |
FrontPage › Msg916WITHEXECUTEAS
|
|
[edit]
2 企 蟆曙? #--use TestDB alter proc Test.usp_LockTest WITH EXECUTE AS '伎' select convert (smallint, req_spid) As spid, loginame, db_name(rsc_dbid) As db_name, object_name(rsc_objid) As object_name, rsc_indid As IndId, substring (v.name, 1, 4) As Type, substring (rsc_text, 1, 32) as Resource, substring (u.name, 1, 8) As Mode, substring (x.name, 1, 5) As Status from master.dbo.syslockinfo, master.dbo.spt_values v, master.dbo.spt_values x, master.dbo.spt_values u, master.sys.sysprocesses z where master.dbo.syslockinfo.rsc_type = v.number and v.type = 'LR' and master.dbo.syslockinfo.req_status = x.number and x.type = 'LS' and master.dbo.syslockinfo.req_mode + 1 = u.number and u.type = 'L' and convert (smallint, req_spid) = z.spid and z.loginame = 'ろ' order by spid
鏤
|
蟾覿 螳 企 覦 豐螳 朱伎 豐襯 朱 貅讌 る 企至 蟾. 襷谿螳讌襦 襷 ロ 襷企 覦 襷 覦蟆 譯手 貍 覿蠍磯ゼ 襷 蠏碁讌 る 蠏瑚 襷豺 豐襯 手鍵 企 蟆螻 螳. (T. 殊) |