摘要: --删除前10条语句delete actionlog where rowid in (select rowid from ( select * from actionlog order by actiondate desc) --where rownum<=10)--时间 select sysdat 阅读全文
posted @ 2017-04-11 15:44 沙雕界一哥 阅读(190) 评论(0) 推荐(0) 编辑
摘要: --cmd导入导出数据库bmp文件 1.执行查询结果中的语句( select 'alter table '||table_name||' allocate extent;' from user_tables where num_rows=0 ) 2.然后再执行 cmd ==》 导入:imp admi 阅读全文
posted @ 2017-04-11 15:30 沙雕界一哥 阅读(186) 评论(0) 推荐(0) 编辑
摘要: --当前执行sql语句 SELECT a.SID , a.SERIAL# , a.USERNAME , b.PARSE_CALLS , b.PARSING_SCHEMA_NAME , b.CPU_TIME / 1000000 , b.ELAPSED_TIME / 1000000 , b.DISK_R 阅读全文
posted @ 2017-04-11 15:27 沙雕界一哥 阅读(4337) 评论(0) 推荐(0) 编辑