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
describe mysql connection using mysql binary. : Sql dba
- Types of triggers - View - Dcl - Procedures, packages, functions - Metasolve - Can use Dcl in triggers - package case study - Cursor and its types - triggers schedule - Wrap - Why we are using fetch and for in cursor. difference?
What do you mean by field in sql?
What is compilation error in pl sql?
What are the usages of sql?
What are stored procedures in mysql?
What is null in pl/sql?
what are the 'mysql' command line arguments? : Sql dba
Is json a nosql?
How do you use a while loop in pl sql?
What are inner outer left and right joins in sql?
Is delete faster than truncate?
How do I partition in sql?
What are the different types of sql commands?
is mysql query is case sensitive? : Sql dba