查找表名是否存在於某個函數或者視圖中

查找表名是否存在於某個函數或者視圖中:web select distinct object_name(id) from syscomments where id in (select id from sysobjects where type in('V','P')) and text like '%表名%'
相關文章
相關標籤/搜索