select distinct object_name(id) from syscomments where id in (select id from sysobjects where t ...
sql 查询某个表被那些存储过程用到select distinct object name id from syscommentswhere id in select object id from sys.objects where type P and UPPER text like YN C order by object name id type char 对象类型。可以是下列值之一: C ...
2019-05-11 15:57 0 989 推荐指数:
select distinct object_name(id) from syscomments where id in (select id from sysobjects where t ...
--1.查询某个表被哪些存储过程使用到 : select distinct object_name(id) from syscomments where id in ( select object_id from sys.objects ...
1.查询某个表被哪些存储过程(以下简称 SP)使用 : select distinct object_name(id) fromsyscomments where id in (select object_id from sys.objects where type='P ...
1.查询某个表被哪些存储过程(以下简称 SP)使用 : select distinct object_name(id) fromsyscomments where id in (select object_id from sys.objects where type='P ...
1.查询某个表被哪些存储过程(以下简称 SP)使用到 : select distinct object_name(id) from syscomments where id in (select object_id from sys.objects where type ='P ...
1.查询某个表被哪些存储过程(以下简称 SP)使用到 : select distinct object_name(id) from syscomments where id in (select object_id from sys.objects where type ='P ...
当我们刚开始接触一些已经成型的项目时,不复杂还好,复杂的话,比如说ERP项目,其中业务逻辑复杂可能会各种存储过程之间来回调用,我们可以用 View Code 该语句可以查询到哪里调用过这个表或者存储过程,更快捷的查找问题,和熟悉项目 ...
View Code https://www.cnblogs.com/wsy0202/p/12496708.html https://blog. ...