What are the commands youd issue to show the explain plan
for select
Answer Posted / saraswathi muthuraman
SQL> explain plan for select * from dual;
Explained.
SQL> select
substr (lpad(' ', level-1) || operation || ' (' || options
|| ')',1,30 ) "Operation",
object_name
"Object"
from
plan_table
start with id = 0
connect by prior id=parent_id;
SELECT STATEMENT ()
TABLE ACCESS (FULL)
DUAL
2 rows selected.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
> CREATE OR REPLACE FUNCTION FACTORIAL_1(factstr varchar2 ) 2 RETURN NUMBER AS 3 new_str VARCHAR2(4000) := factstr||'*' ; 4 fact number := 1 ; 5 BEGIN 6 7 WHILE new_str IS NOT NULL 8 LOOP 9 fact := fact * TO_NUMBER(SUBSTR(new_str,1,INSTR(new_str,'*')-1)); 10 new_str := substr( new_str,INSTR(new_str,'*')+1); 11 END LOOP; 12 13 RETURN fact; 14 15 END; explanation Above program?
How to list all indexes in your schema?
What is format trigger?
Oracle
How remove data files before opening a database?
How to convert characters to times in oracle?
Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?
How can we find out the current date and time in oracle?
How would you go about verifying the network name that the local_listener is currently using?
What is query image?
20. Using a set operator, display the client number of all clients who have never placed an order.
Please explain compound trigger in oracle?
What is oracle analytical function?
Why does for update in oracle 8 cause an ora-01002 error?
What are the different types of trigger and explain its various uses and functions?