欢迎光临
我们一直在努力

得到所有用户存储过程及参数列表-数据库专栏,SQL Server

建站超值云服务器,限时71元/月

alter procedure getdatabaseinfo9

as
select (case when b.colorder=1 or b.colorder is null then a.name else end)  as n表名 ,b.name as n字段名 ,c.name as n数据类型 ,b.prec as n长度,(case when b.colstat=4 then √else end) n是否输出, b.colorder n字段序号,(case when b.colorder=1 or b.colorder is null then d.text else end)  as n内容 from sysobjects a left join syscolumns b on b.id=a.id left join systypes c on (c.xtype=b.xtype and c.name<>sysname) left join syscomments d on d.id= a.id where a.schema_ver=0 and a.xtype=p order by a.name,b.colorder 
 return
— by huntfox

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » 得到所有用户存储过程及参数列表-数据库专栏,SQL Server
分享到: 更多 (0)

相关推荐

  • 暂无文章