摘要: 查看表被哪些视图或存储过程引用SELECT OBJECT_NAME(id) FROM syscomments WHERE id IN(SELECT object_id FROM sys.objects WHERE type='P')AND text LIKE '%TABLE%' --根据分隔符一条变 阅读全文
posted @ 2017-03-02 14:01 码农-小菜鸟 阅读(288) 评论(0) 推荐(0) 编辑