Two Methods of retrieving SQL?
Answers were Sorted based on User's Feedback
Answer / srilekha
using select stmt and cursor u can retrive the records
Is This Answer Correct ? | 127 Yes | 6 No |
Answer / prasad
two methods of retrieving SQL are
1) is select stmt
2) is cursor
we can use these commands to retrive the related records
Is This Answer Correct ? | 62 Yes | 8 No |
Answer / ashvin ranpariya
two methods of retrieving SQL is
1) Select Statment
Example: select * from XYZTBLES;
2)Cursor
Example:
declare
type r_cursor is REF CURSOR;
c_emp r_cursor;
en emp.ename%type;
begin
open c_emp for select ename from emp;
loop
fetch c_emp into en;
exit when c_emp%notfound;
dbms_output.put_line(en);
end loop;
close c_emp;
end;
Is This Answer Correct ? | 49 Yes | 5 No |
what is julian date in oracle
What is crud sql?
how to debugg a procedure or package using dbms_output.put_line in plsql
write a query filter the null value data following source? name age john 30 smith null null 24 sharp 35 i want output name age john 30 sharp 35
Can unique keys be null?
Why truncate is used in sql?
what is the difference between group by and order by in sql? : Sql dba
Can ddl statements be used in pl/sql?
What are sql indexes?
What are the blocks in stored procedure?
What is the advantage of index in sql?
How to create an array in pl/sql?