1. what is a single procedure?
2. suppose a view constructed on a query... after that in
the master table a column was dropped, then what will be the
status of that view? will it be invalid or something else?
3. what is mutating table error? how can you solve that problem?
4. suppose "select * from emp where empno=7788;" is running
slow because of what ever the cause it is.. how can you fix
it and make the execution faster?
5. will the snapshot of data will be stored in the RAM ,
where will ir be stored exactly.
6. how to delete 100 tables or 100000 tables' data from the
schema without writing delete statement for no.of times.
write an sql statement to do that job.
7. suppose a package contains so many cursors, procedures
and all.. and we are using such types of procedures so many
in a program. so the execution is to be stored all those
packages and all to the RAM. utimately it is using many
resources for each time execution. how can you reduce the
time and using of resources for each execution because the
query need to be run many times. how can you tune that?
8. suppose a procudere is there with specs as (a,b,c,d), all
of these are IN mode only then while calling them should we
pass all the 4 arguments? how to pass (b,c) only.. how ever
the specs are wrote in the same order displayed in the above?
9. a function is returning a table type, how to access that
function in a select statement?
10. i have a table in database A and another table in
database B, how can you access the data of these two tables?
write a query for that with dblinks.
11. i have two tables might have 15/20 columns in that.. i
wanna send these columns(table) to the front end application
for example you are using asp.net by writing a procedure.
write that to perform the above job.
12. shall we create a table in the package?
13. shall we create a table in the procedure?
14. suppose i have 10 records, in that i want to select 7th
record. write a query for that. cant you use rownum for this?
15. suppose my procedure has got around 20 select
statements, in that some three select statements are running
very slow. what will you write to detect which queries are
running slowly?
16. what fields you use frequently in plan_table?
17. what is pipeline function? explain me with an example.
18. does a unique column can contain more than one null?
19. how many hints are there provided by oracle?
Answers were Sorted based on User's Feedback
Answer / seshu
Q:18 : NULL is not eqal to another NULL, so unique column
can have more than one NULL
| Is This Answer Correct ? | 6 Yes | 4 No |
Answer / nishi
13.we can create table in procedure using execute immediate.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / ajit
q:15:using dbms_utility.get_time function, we r knowing which sql stmt running very slow.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / nishi
19.types of hint are
all_rows,first_rows,full,rowid,index,cluster,index_asc,index_desc,end_equal,hash,ordered,use_nl,use_merge.
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / lili
q:14
select salary from
(select rownum r, SALARY from employees)
where r>9 and r<11 ;
| Is This Answer Correct ? | 0 Yes | 2 No |
What are the values that can be specified for OPTIMIZER MODE Parameter ?
Who developed oracle & when?
What is a read only transaction in oracle?
> 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?
Does facebook use oracle?
What is the use of Control File ?
which language is used to develop the oracle........?
Can we commit inside a function in oracle?
why dont we assign not null constraint as table level constraint.
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
i have a table and it has constraints and i want to get "ALTER TABLE table_name ADD CONSTRAINT constraint_name constraint type" this code must be in string type please help me if you want, i can give more explainings
What are the different types of modules in oracle forms?