SQL架构信息读取
2016-04-29 11:19
513 查看
--架构: select * from information_schema.SCHEMATA --表: select table_name from information_schema.tables --列: select table_name from information_schema.COLUMNS --表约束: select * from information_schema.TABLE_CONSTRAINTS --键: select * from information_schema.KEY_COLUMN_USAGE --存储过程: select * from information_schema.ROUTINES --视图: select * from information_schema.VIEWS
相关文章推荐
- SqlBulkCopy 批量插入数据库
- POCO 1.7.2 + VS2013 + OPENSSL + MYSQL编译
- MySQL server has gone away 问题的解决方法
- 杭州4--29 关于sqltest_go和sqltest_beego的几个注意点
- CentOS7 + Django + mysql
- SQLServer OpenRowSet 导入数据
- mysql 性能参数 table_open_cache
- vsftpd基于pam_mysql的虚拟用户访问
- win7,win8 下PLSQL developer 连接不上64位Oracle 的解决方法 不安装orcal 使用PLSQL的组件 使用它可以不安装oracle连接数据库
- 无法对视图创建索引,因为该视图未绑定到架构 SQLServer
- vsftpd基于pam_mysql的虚拟用户认证
- mysql copy表或表数据常用的语句整理汇总
- mysql truncate/delete/drop 删除表数据
- 不安装oracle客户端,plsql developer的安装教程
- 直接领券TPS低-sql优化过程分析
- MySQL启动参数(三) —— table_open_cache
- DB2使用事件监控器抓取返回行数超过固定值的SQL语句
- 论坛日志分析:Flume+MapReduce+Hive+Sqoop+MySQL
- VS2010链接SQLsever2008数据库时出现[DBNETLIB][ConnectionOpen (Connect()).]SQL Server 不存在或拒
- [置顶] PLSQL Developer连接数据库报错ora-12514解决