本网页所有文字内容由 imapbox邮箱云存储,邮箱网盘, iurlBox网页地址收藏管理器 下载并得到。
ImapBox 邮箱网盘 工具地址: https://www.imapbox.com/download/ImapBox.5.5.1_Build20141205_CHS_Bit32.exe
PC6下载站地址:PC6下载站分流下载
本网页所有视频内容由 imoviebox边看边下-网页视频下载, iurlBox网页地址收藏管理器 下载并得到。
ImovieBox 网页视频 工具地址: https://www.imapbox.com/download/ImovieBox4.7.0_Build20141115_CHS.exe
本文章由: imapbox邮箱云存储,邮箱网盘,ImageBox 图片批量下载器,网页图片批量下载专家,网页图片批量下载器,获取到文章图片,imoviebox网页视频批量下载器,下载视频内容,为您提供.
1.查询数据库表结构
select (case when a.colorder=1 then d.name else null end) [表名], a.colorder [序号], a.name [字段名], (case when columnproperty(a.id,a.name,'IsIdentity')=1 then '√'else '' end) [标识], (case when (select count(id) from sysobjects where (name in (select name from sysindexes where (id = a.id) and (indid in (select indid from sysindexkeys where (id = a.id) and (colid in (select colid from syscolumns where (id = a.id) and (name = a.name))))))) and (xtype = 'PK'))>0 then '√' else '' end) [主键], b.name [类型], a.length [占用字节数], columnproperty(a.id,a.name,'PRECISION') [长度], isnull(COLUMNPROPERTY(a.id,a.name,'Scale'),0) [小数位数], (case when a.isnullable=1 then '√'else '' end) [允许空], isnull(e.text,'') [默认值], isnull(g.[value], ' ') [备注] from syscolumns a left join systypes b on a.xtype=b.xusertype inner join sysobjects d on a.id=d.id and d.xtype='U' and d.name not in ('dtproperties','sysdiagrams') left join syscomments e on a.cdefault=e.id left join sys.extended_properties g on a.id=g.major_id and a.colid=g.minor_id left join sys.extended_properties f on d.id=f.class and f.minor_id=0 where b.name is not null order by d.name --,a.id,a.colorder
阅读和此文章类似的: 程序员专区