T-SQL 常用语句
时间:2022-03-14 04:47
1. 查看 Table 或者 Column 被那些object(存储过程、函数或View)调用.
select a.* from sysobjects a, syscomments b where a.id = b.id and b.text like ‘%tablename%‘
时间:2022-03-14 04:47
1. 查看 Table 或者 Column 被那些object(存储过程、函数或View)调用.
select a.* from sysobjects a, syscomments b where a.id = b.id and b.text like ‘%tablename%‘