在数据库中查询表\表字段\存储过程\存储过程变量

USE [FLY]
select c.name,o.* from
syscolumns c,sysobjects o
where o.id=c.id
and c.name like '%SafeAmt%' -- and o.name like '%tableName%'
--and o.xtype='U'
原文地址:https://www.cnblogs.com/zxjyuan/p/1592875.html