06 2015 档案

摘要:查看被锁表:select request_session_id spid,OBJECT_NAME(resource_associated_entity_id) tableName from sys.dm_tran_locks where resource_type='OBJECT's... 阅读全文
posted @ 2015-06-15 12:17 摩根船长 阅读(1302) 评论(0) 推荐(0) 编辑
摘要:1 select b.name 2 from dbo.syscomments a, dbo.sysobjects b 3 where a.id=b.id and b.xtype='p' and a.text like '%@tempGoods%'4 order by name xtype 代表类型... 阅读全文
posted @ 2015-06-07 15:21 摩根船长 阅读(1649) 评论(0) 推荐(0) 编辑