随笔分类 -  oracle

摘要:一。查询篇 1.查询oracle表空间的使用情况 select b.file_id 文件ID, b.tablespace_name 表空间, b.file_name 物理文件名, b.bytes 总字节数, (b.bytes-sum(nvl(a.bytes,0))) 已使用, sum(nvl(a.b 阅读全文
posted @ 2016-03-01 13:40 无悔的勇气 阅读(13838) 评论(0) 推荐(1)
摘要:select file_name,autoextensible,increment_by from dba_data_files 阅读全文
posted @ 2016-03-01 13:37 无悔的勇气 阅读(2841) 评论(0) 推荐(0)
摘要:工具->首选项->数据库->NLS->日期格式: DD-MON-RR 修改为: YYYY-MM-DD HH24:MI:SS 阅读全文
posted @ 2015-07-07 17:08 无悔的勇气 阅读(1308) 评论(0) 推荐(0)
摘要:--查询分析器中执行:--建表table1,table2:create table table1(id int,name varchar(10))create table table2(id int,score int)insert into table1 select 1,'lee'insert ... 阅读全文
posted @ 2015-04-02 14:38 无悔的勇气 阅读(1377) 评论(0) 推荐(0)