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
What does (+) mean in sql joins?
what are the advantages and disadvantages of views in a database? : Sql dba
What is loop in pl sql?
How do you select unique values in sql?
what happens if null values are involved in expressions? : Sql dba
How many types of keys are there in sql?
what is auto increment? : Sql dba
Is sql an operating system?
Explain the components of sql?
What is sql scripting?
What is sql select statement?
Which is the correct statement about truncate and delete?
what are ddl statements in mysql? : Sql dba
Which are the different case manipulation functions in sql?
What are views in sql?