枚举 sql server 中的表名 (zz)
来源:互联网 发布:php substr函数 中文 编辑:程序博客网 时间:2024/06/06 00:32
//z 2012-3-16 11:34:36 AM IS2120@CSDN
SQL Server 2005 or 2008:
SELECT * FROM information_schema.tables
SQL Server 2000:
SELECT * FROM sysobjects WHERE xtype='U'
SELECT sobjects.nameFROM sysobjects sobjectsWHERE sobjects.xtype = 'U'
Here is a list of other object types you can search for as well:
- C: Check constraint
- D: Default constraint
- F: Foreign Key constraint
- L: Log
- P: Stored procedure
- PK: Primary Key constraint
- RF: Replication Filter storedprocedure
- S: System table
- TR: Trigger
- U: User table
- UQ: Unique constraint
- V: View
- X: Extended stored procedure
SELECT * FROM INFORMATION_SCHEMA.TABLES
or Sys.Tables
exec sp_msforeachtable 'print ''?'''
- 枚举 sql server 中的表名 (zz)
- 查询SQL Server中的表名
- SQL Server表名
- C#遍历SQL Server数据库中的表,读出表名
- 枚举局域网内所有的 SQL Server 服务器实例名
- 更改SQL Server中的计算机名
- Sql Server中的用户名和登录名
- sql server获取库名,表名
- sql server获取库名,表名
- sql server 修改表名
- Sql Server数据库中的更新表名、列名、列值
- 获取SQL Server所有数据库名,表名,字段名
- SQL Server修改表名,字段名,索引名
- 枚举SQL Server中的存储过程及其参数(收藏)
- sql server锁机制(ZZ)
- sql server批量修改表名
- sql server批量修改表名
- SQL Server 2000中查询表名
- C语言实现类似于C++的Vector容器
- Linux系统管道和有名管道的通信机制
- 载着你彷佛载着阳光
- dataGridView控件DateTime列插入DateTimePicker
- 如果在const函数中修改一个变量的值
- 枚举 sql server 中的表名 (zz)
- Linux socket编程学习初步(5)--服务器多线程
- 项目中如何添加CorePlot开源框架(重温Xcode链接静态库)
- iOS内存小论
- 用get 函数读入一个字符
- Xcode4.2中将Three20开源库导入到工程项目中
- android res
- .Net TCP/UDP 编程
- 用get函数读入一个字符