Oracle SQL/PLSQL
翁特锋
Oracle 博大精深
展开
-
SQLPLUS小技巧带行号SQL的粘贴
介绍一个SQLPLUS中粘贴SQL语句的小技巧。 除了Windows环境下的SQLPLUSW之外,当在sqlplus中运行了一个很长的语句后,得到的是一个带有行号的SQL: SQL> SELECT ksppinm name, 2 ksppstvl VALUE, 3 ksppdesc des 4 FROM x$ksppi x, x$ksppcv y 5 WHERE (x.indx =转载 2013-01-05 23:12:05 · 1484 阅读 · 1 评论 -
scripts for query proportion of the on-idle wait time is taken up by these wait classes
You can use the following command to determine what proportion of the entire non-idle wait time is taken up by these wait classes: SELECT SUBSTR(WAIT_CLASS, 1, 30) WAIT_CLASS, ROUND(TIME_WAIT原创 2014-02-08 14:45:16 · 942 阅读 · 0 评论