标签:objects distinct rom 查询 scom ali comm select name
--查询什么存储过程和视图用到了这个字段
select distinct b.name from syscomments a,sysobjects b where a.id=b.id and a.text LIKE ‘%xxx%‘
--查询一个表有什么字段
select name from SysColumns where id=Object_Id(‘表名‘)
标签:objects distinct rom 查询 scom ali comm select name
原文地址:https://www.cnblogs.com/eatyourvegetables/p/10637296.html