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

Reading number is top 10 articles
伪静态在PHPWind的应用_php资料_编程技术
手把手教你制作vs2005装饰_[Asp.Net教程]
Asp.net,Ajax,学习笔记7,客户端访问WebService(中)_[Asp.Net教程]
VC++大数据量绘图时无闪烁刷屏技术实现_[Asp.Net教程]
C#中父窗口和子窗口之间实现控件互操作_[Asp.Net教程]
C#中ListBox控件应用实例
SQL,Server,2005数据库升级要点和技巧_[SQL,Server教程]
在Visual,Studio,2005和ASP.NET,2.0中使用强类型数据存取_[Asp.Net教程]
TreeView服务器控件的事件实例应用
一个经典的PHP显示分页程序_[PHP教程]
Reading number is top 10 pictures
Sora aoi in China3
Sell the barbecue as says father du breul3
福利是必须的
鸡蛋的新玩法
Exquisite decoration is not paying too much1
含苞欲放的素颜美少女3
The service WaLiangGe Chinese aircraft carrier1
青涩甜美-王祖贤小时候的旧照片曝光
Ashlynn Brooke show proud chest measurement2
The goddess of the single reason1
Download software ranking
WebService在.NET中的实战应用教学视频 → 第1集
虚拟机汉化软件
Prostitutes diary
Popkart Cracked versions Mobile phone games
Unix video tutorial19
Unix video tutorial20
Kung fu panda - the secret of the teacher
Twenty piece of palm leaf
Love the forty days
Boxer's Top ten classic battle4
归海一刀 published in(发表于) 2014/2/1 0:13:38 Edit(编辑)
SQL2000系统表的应用_[SQL,Server教程]

SQL2000系统表的应用_[SQL,Server教程]

SQL2000系统表的应用_[SQL Server教程]

--1:获取当前数据库中的所有用户表


select Name from sysobjects where xtype='u' and status>=0


--2:获取某一个表的所有字段


select name from syscolumns where id=object_id('表名')


--3:查看与某一个表相关的视图、存储过程、函数


select a.* from sysobjects a, syscomments b where a.id = b.id and b.text like '%表名%'


--4:查看当前数据库中所有存储过程


select name as 存储过程名称 from sysobjects where xtype='P'


--5:查询用户创建的所有数据库


select * from master..sysdatabases D where sid not in(select sid from master..syslogins where name='sa')


或者


select dbid, name AS DB_NAME from master..sysdatabases where sid <> 0x01


--6:查询某一个表的字段和数据类型


select column_name,data_type from information_schema.columns
where table_name = '表名'







添加到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.