Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何检查一个表数据是否在其他进程/过程中被引用/是否在sybase的其他表中被使用?
尝试这个
SELECT DISTINCT o.name, o.xtype FROM dbo.syscomments c INNER JOIN dbo.sysobjects o ON c.id=o.id WHERE c.TEXT LIKE 'Table_Name_here' -- and xtype = 'P' --un-comment if you want only procedures