All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
PHP入门:初学来看配置文件PHP.INI的中文注释_[PHP教程]
asp.net2.0,treeview控件用数据表做为数据源实现n级动态菜单_[Asp.Net教程]
XML HttpRequst对象基础方法学习_[XML教程]
delphi获取Windows目录
XSL教程:了解XSL的选择模式_[XML教程]
SQL Server连接失败错误分析与排除_[SQL Server教程]
SQL转ACCESS解决自动编号问题_[SQL,Server教程]
必学:设计ASP.NET应用程序的七大绝招_php资料_编程技术
十天学会ASP.net,第四天_.net资料_编程技术
Visual C++ 6.0教程:c++数据类型之指针
Reading number is top 10 pictures
The money of more than 100 countries and regions3
西游四格漫画(五)
网上疯传的一篇小学作文《爸爸也治不了妈妈》
29 the belle stars after bath figure3
007 James. bond's new lover
The money of more than 100 countries and regions20
5 meters long centenarians python and melee was successfully capture king snake (figure)
Exquisite decoration is not paying too much3
明星与豪宅
人物写真-谢楠
Download software ranking
Unix video tutorial19
VC++6.0简体中文版
Ashlynn Video1
SP4 for SQL2000
Boxer's Top ten classic battle1
Tram sex maniac 2 (H) rar bag18
linux高级编程
Visual C++界面编程技术
Boxer vs Yellow5
Boxer's Top ten classic battle7
归海一刀 published in(发表于) 2014/2/1 0:23:32 Edit(编辑)
获取所有用户表及根据表Id取得表字段信息_[SQL,Server教程]

获取所有用户表及根据表Id取得表字段信息_[SQL,Server教程]

获取所有用户表及根据表Id取得表字段信息_[SQL Server教程]

SQL SERVER 2000

sql_pub = "select id, [name], crdate from sysobjects d where d.xtype = 'U' and d.name <> 'dtproperties' order by a.[name] asc"


sql_pub = " SELECT " & _
" a.[name] as '字段名称'" & _
" , (case when COLUMNPROPERTY( a.id,a.name,'IsIdentity')=1 then '√'else '' end) as 标识" & _
" , b.name 类型" & _
" , a.length 占用字节数" & _
" , (case when a.isnullable = 1 then '√'else '' end) 允许空" & _
" , isnull(e.text,'') 默认值" & _
" , cast(isnull(g.[value],'') as varchar(100)) AS 字段说明" & _
" FROM syscolumns a" & _
" left join systypes b" & _
" on a.xtype = b.xusertype" & _
" left join syscomments e" & _
" on a.cdefault=e.id" & _
" left join sysproperties g" & _
" on a.id = g.id AND a.colid = g.smallid" & _
" where a.id = " & table_id & _
" order by a.colorder"


来源:CSDN





添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.