s数据库连接字符串超时的问题
2013-05-22 18:58
246 查看
转载:http://blog.163.com/lyq_163_2009/blog/static/134082696201071210628720/
设置行宽:
set line 300;
查询oracle下数据字典表名称及用途:
select * from dictionary;
查看表结构:
desc emp;
查看用户有多少张表:
select count(*) from dba_tables;
select count(*) from all_tables;
select count(*) from user_tables;
查看数据库的对象:
select object_name from user_objects;
查看表:
select table_name from user_tables;
查看视图:
select view_name from user_views;
查看序列:
select sequence_name from user_sequences;
查看约束:
select constraint_name from user_constraints;
查看具体表的约束:
select constraint_name from user_constraints where table_name='DEPT';
查看存储过程:
select procedure_name from user_procedures;
查看触发器:
select trigger_name from user_triggers;
查看索引:
select index_name from user_indexes;
设置行宽:
set line 300;
查询oracle下数据字典表名称及用途:
select * from dictionary;
查看表结构:
desc emp;
查看用户有多少张表:
select count(*) from dba_tables;
select count(*) from all_tables;
select count(*) from user_tables;
查看数据库的对象:
select object_name from user_objects;
查看表:
select table_name from user_tables;
查看视图:
select view_name from user_views;
查看序列:
select sequence_name from user_sequences;
查看约束:
select constraint_name from user_constraints;
查看具体表的约束:
select constraint_name from user_constraints where table_name='DEPT';
查看存储过程:
select procedure_name from user_procedures;
查看触发器:
select trigger_name from user_triggers;
查看索引:
select index_name from user_indexes;
相关文章推荐
- 数据库连接超时(数据池自动断开问题解决)
- 连接阿里云数据库redis版 超时问题
- vs 数据库连接字符串,连接本机数据库没任何问题,连其他的局域网数据库总是弹出调试窗口
- Spring数据库数据源JDBC连接池连接MySQL的超时问题
- 数据库连接池应用中数据库服务器断开超时连接的问题
- (转)关于c#在控制台应用程序中连接数据库字符串的问题
- 数据库连接超时的问题
- 数据库连接池应用中数据库服务器断开超时连接的问题
- 使用Hibernate + MYSQL数据库问题(Hibernate连接数据库超时设置autoReconnect=true)
- 从Web.Config中读取数据库连接字符串的问题
- 数据库连接字符串的常见问题和解决方法
- 机房收费系统----报表与数据库连接的字符串生成的问题
- 【数据库】使用ADO方法连接数据库的OPEN方法的字符串问题
- 数据库连接超时问题(求解)
- 数据库会自动清除掉超时的空闲连接造成中间件连接池中连接断开的问题
- Web.config中关于数据库连接字符串配置问题
- 再谈远程数据库连接超时问题解决
- SSIS系列之-BT的OLAP数据库连接字符串导致的问题
- 关于tomcat启动超时 和mysql等数据库连接的问题
- 探讨MySQL 5数据库连接超时问题