上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页
摘要: 十进制与十六进制的转换十进制-->十六进制select to_char(100,'XX') from dual;十六进制-->十进制select to_number('7D','XX') from dual; 阅读全文
posted @ 2014-07-30 21:27 princessd8251 阅读(325) 评论(0) 推荐(0) 编辑
摘要: Example to show the dead lock caused by lack of index on foreign key of child table.Session 1:create table p ( x int primary key );create table c ( x ... 阅读全文
posted @ 2014-07-30 20:36 princessd8251 阅读(814) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/liqfyiyi/article/details/7727641http://www.askmaclean.com/archives/category/oracle/lockhttp://database.51cto.com/art/201004/19729... 阅读全文
posted @ 2014-07-30 20:16 princessd8251 阅读(458) 评论(0) 推荐(0) 编辑
摘要: 1. enable traceDBCC TRACEON (trace# [ ,...n ][ , -1 ] ) [ WITH NO_INFOMSGS ]trace# Is the number of the trace flag to turn on.n Is a placeholder that... 阅读全文
posted @ 2014-07-30 15:43 princessd8251 阅读(622) 评论(0) 推荐(0) 编辑
摘要: 1创建一个测试表,test,并且插入10000行数据; SQL> create table test (id int); SQL> begin 2 for i in 1..10000 loop 3 insert into test values(i) 4 end loop; 5 end; ... 阅读全文
posted @ 2014-07-29 18:42 princessd8251 阅读(1052) 评论(0) 推荐(0) 编辑
摘要: With below three situation, we can use the pseudocolumncolumn_value to refer the column value.an XMLTABLEconstruct without the columnsclauseTABLE func... 阅读全文
posted @ 2014-07-28 18:40 princessd8251 阅读(860) 评论(0) 推荐(0) 编辑
摘要: 我们在10046生产的trace 文件里经常看到下面的信息. 表示系统在等待散列读取某个文件号的某个块开始的8个块.WAIT #6: nam='db file scattered read' ela= 438472 file#=6 block#=2641 blocks=8WAIT #6: nam='... 阅读全文
posted @ 2014-07-26 00:45 princessd8251 阅读(2521) 评论(0) 推荐(0) 编辑
摘要: Format:column column_name new_value var_nameMeaning: use the column_name of a select statment to construct a variable, later we can use &var_name to r... 阅读全文
posted @ 2014-07-24 19:50 princessd8251 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 以前写过用external table来加载trace文件,详情参考下面链接.http://www.cnblogs.com/princessd8251/p/3779145.html今天要做到是用UTL_FILE包来读取一个directory下面的文件,比如我们的trace文件.先定义get_trac... 阅读全文
posted @ 2014-07-24 18:38 princessd8251 阅读(412) 评论(0) 推荐(0) 编辑
摘要: Question:I want to understand when to export and import by dbms_stats statistics and learn when it is a good idea to export and import statistics.Answ... 阅读全文
posted @ 2014-07-23 21:12 princessd8251 阅读(404) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 15 下一页