Answer Posted / dipti
Another nice feature of the CURSOR FOR is the ability to
define the cursor inline. Below is a cursor that is not
declared in the declaration section of the executing
block. The cursor definition is included in the CURSOR FOR.
SQL> begin
2 for r_c11 in
(select author_last_name l_name,
3 author_first_name f_name
4 from author) loop
5 dbms_output.put_line(initcap(
6 r_c11.l_name||
', '||r_c11.f_name));
7 end loop;
8 end;
9
| Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
Is it possible to include an insert statement on the same table to which the trigger is assigned?
explain the advantages and disadvantages of stored procedure? : Sql dba
what is csv? : Sql dba
What is crud sql?
What is data profiling in sql?
What is restrict in sql?
what is query cache in mysql? : Sql dba
what is sql server agent? : Sql dba
What are database links used for?
What is microsoft t sql?
What is rtm in testing?
What is a sql select statement?
Can we use insert statement in function?
What is procedure explain with example?
What do you understand by case manipulation functions?