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

How to get a list of all user accounts in the database?

833


Explain user account with reference to oracle.

749


What is oracle latest version?

832


types of indexes and the rationale behind choosing a particular index for a situation.

2231


What is a parameter file in oracle?

778


What happens if you lost a data file?

795


When system tablespace is created?

785


What is enter substitution variable in oracle?

779


How to retrieve data from an explicit cursor?

771


How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

2033


How to create an oracle testing table?

793


How to create a single index for multiple columns?

758


What is the difference between Delete, Truncate and Drop in Oracle?

844


Can I create users through internet explorer in oracle 10g?

777


How to sort the query output in oracle?

806