存储过程中包含某字符

 

存储过程中包含某字符

select object_name(parent_obj) as TableName,name,status,crdate from sysobjects where xtype = 'TR' order by parent_obj

select distinct name from sysobjects o, syscomments s where o.id = s.id and (o.xtype = 'P' or o.xtype = 'FN' or o.xtype = 'TF' or o.xtype = 'TR' or o.xtype = 'V') and text like '%要查询的字符%'

 

posted on 2020-09-29 10:36  高达  阅读(134)  评论(0)    收藏  举报

导航