Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1306100
  • 博文数量: 416
  • 博客积分: 10495
  • 博客等级: 上将
  • 技术积分: 4258
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-23 22:13
文章分类

全部博文(416)

文章存档

2015年(7)

2014年(42)

2013年(35)

2012年(14)

2011年(17)

2010年(10)

2009年(18)

2008年(127)

2007年(72)

2006年(23)

2005年(51)

分类: Oracle

2010-07-30 10:40:02

 字典
oracle_dictionaries    数据字典表(user_tables,user_views……)
desc user_tables;                  //当前用户下有多少张表
select table_name from user_tables;   //当前用户下有多少张表
select view_name from user_views;    //当前用户下有多少张视图
select constraint_name from user_constraints;   //当前用户下有多少约束
desc user_constraints;
select constraint_name, table_name from user_constraints;//约束在哪张表


//多少张数据字典表
desc dictionary
table_name     //数据字典表名字   包括 user_tables
comments       //

阅读(1218) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~