Answer Posted / a.jyothsna
declare
cursor cur_t is select * from test;
var_t test%rowtype;
begin
open cur_t;
loop
fetch cur_t into var_t;
exit when cur_t%notfound;
dbms_output.put_line('a: ' || var_t.a || ', b: ' ||
var_t.b);
end loop;
end;
/
| Is This Answer Correct ? | 12 Yes | 2 No |
Post New Answer View All Answers
How do I run a sql query?
Is left join same as join?
When is the explicit cursor used ?
What are the types of subqueries?
What do we need to check in database testing?
What is the mutating table and constraining table?
how to add a new column to an existing table in mysql? : Sql dba
What is cursor in pl sql with examples?
What is join view in sql?
Write a program that shows the usage of while loop to calculate the average of user entered numbers and entry of more numbers are stopped by entering number 0?
What is your daily office routine?
Is trigger a stored procedure?
what is isam? : Sql dba
Explain the rollback statement?
How do you modify a trigger?