复制代码 代码如下:
select name , xtype , object_definition (id ) from sysobjects
where xtype in ('V' , 'P' , 'TR' , 'IF' , 'TF' , 'FN' )
order by xtype , name
复制代码 代码如下:
select b. name , b. xtype , a . definition from sys .sql_modules a , sys .sysobjects b
where a . object_id = b. id
order by b. xtype
新闻热点
疑难解答