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
GLOBAL TEMPORARY TABLE over Views in advantages insolving mutating error?
What is on delete restrict?
Is grant a ddl statement?
Under what condition it is possible to have a page level lock and row lock at the same time for a query? : Transact sql
how to create a new table by selecting rows from another table in mysql? : Sql dba
What are the parts of a basic sql query?
What are pl sql procedures?
What is pl sql quora?
What is sql constant?
What is the basic form of sql query?
1) Synonyms 2) Co-related Subquery 3) Different Jobs in Plsql 4) Explain Plan 5) Wrap 6) Query Optimization Technique 7) Bulk Collect 8) Types of index 9) IF primary key is created then the index created ? 10) Foreign Key 11) Exception Handling 12) Difference Between Delete and Trunc 13) Procedure Overloading 14) Grant Revoke 15) Procedure Argument types. 16) Functions. 17) Joins
How do you update f as m and m as f from the below table testtable?
what is a constraint? Tell me about its various levels. : Sql dba
Why use subqueries instead of joins?
What is before trigger?