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
How is a PL/SQL code compiled?
what is csv? : Sql dba
Is it possible to update views?
How do I find duplicates in the same column?
Can we perform dml on view?
What are the various restrictions imposed on view in terms of dml?
What is the benefit of foreign key?
What does the hierarchical profiler does?
How you improve the performance of sql*loader? : aql loader
What is data types in sql?
How to Execute a Package in PL/SQL.?
What is snowflake sql?
how can we submit a form without a submit button? : Sql dba
Explain ttitle and btitle.
Hi how to import oracle sequence in Informatica? Please write stored procedure code that will import oracle sequence in Informatica SP transformation as per below scenario Oracle table product list Pro_id, pro_name 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights Now a new flat file with new product list needs to be added to oracle table product list with oracle sequence. flat file product Prono,pro_name, 1, 20 watt tube light 2, 30 watt tube light & target should be like 101, LED Lights. 102, 20watt CFL Lights. 103, 30 watt CFL lights. 104, 20 watt tube light 105, 30 watt tube light thks reg suvarna joshi suvarnaatsuvarna@rediffmail.com