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 to drop an existing table in mysql? : Sql dba
What is indexing oracle sql?
Is it mandatory for the primary key to be given a value when a new record is inserted?
What is the file extension for sql database?
What is union?
What is sql lookup?
What is mutating trigger?
What is integrity in sql?
What is a database? Explain
Which tcp/ip port does sql server run on? How can it be changed? : Sql dba
Does postgresql run on the cloud?
What do you mean by stored procedures?
What is a field in a database?
What is multiple partition?
what is a composite primary key ? : Sql dba