select rtrim ( lpad ( ' ', 2*level ) ||
rtrim ( operation ) || ' ' ||
rtrim ( options ) || ' ' ||
object_name || ' ' ||
partition_start || ' ' ||
partition_stop || ' ' ||
to_char ( partition_id )
) the_query_plan
from plan_table
connect by prior id = parent_id
start with id = 0;
rtrim ( operation ) || ' ' ||
rtrim ( options ) || ' ' ||
object_name || ' ' ||
partition_start || ' ' ||
partition_stop || ' ' ||
to_char ( partition_id )
) the_query_plan
from plan_table
connect by prior id = parent_id
start with id = 0;
解决方案 »
- 超大数据量存储方案 求助
- WiseInstall数据库打包的版本检测问题?
- ORACLE外连接分组问题
- oracle 建视图问题,亟待解决,请高手指点
- Oracle9i中的 SQLPLUS 登陆问题(头疼啊···)
- 怎么用标准的sql语句查询 blob字段的大小?
- 关于SQL语句的解析问题。专家们看看。
- [在线急问]orcale中为表中某一字段设置缺省值的SQL命令怎么写?
- 明明创建了表空间,但是在创建用户时却提示 ORA-00959: 表空间'MY_TEST_DEF'不存在
- update set (f1,f2) = (select f1, f2 from table2 ) 如何匹配更新?
- windows下安装好oracle之后,应该做什么?
- 请教以下:网上有没有什么容易一点的oracle教程看?书店里面的oracle好书太少了:(
CREATE public synonym plan_table for sys.plan_table
grant all on plan_table to public
run sqlplus/admin/plustrce.sql
grant plustrce to public然后,你在PLUS中键入SET AUTOTRACE ON
就可以看到执行计划了