ex. one table is having 1 column with 10 records ,
then how to display all the values in row wise ?

Answer Posted / ruchi varma

it will need a cursor.

begin
for cur1 in (select a from Name) loop
dbms_output.put(cur1.a);
end loop;
end;

dbms_output.put -> displays a chr without putting a new line

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is user managed backup in Oracle?

601


Explain drop constraint oracle?

582


How to use "while" statements in oracle?

724


What is Data Dictionary Cache in Oracle?

649


How do I limit the number of rows returned by an oracle query after ordering?

614






How to drop a tablespace?

556


how can we store any pdf file in oracle

1630


What is the relation of a user account and a schema?

600


What is oracle server autotrace in oracle?

601


Why do we need integrity constraints in a database?

574


Can group functions be used in the order by clause in oracle?

571


What are transaction isolation levels supported by oracle?

568


How to drop an index in oracle?

594


What is redo log?

615


I just want to maintain data like an employee can belongs to 3 or more departments . We can resolve this by using composite key but it avoids normalization rules. So Can anyone tell me how can I maintain data.

1690