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

Difference between hot backup vs. Cold backup?

608


What is SQL access advisor in Oracle?

634


How to define an external table with a text file?

581


How to view the data files in the current database?

599


How to connect to the server with user account: sys?

568






What is the fastest query method to fetch data from the table?

866


What is bind variable in oracle 11g?

592


what are actual and formal parameters?

599


How to use null as conditions in oracle?

584


Describe an oracle table?

578


What are the different types of failures that occur in Oracle database?

605


Iam learning oracle developer 2000.. can anyone give me then tutorials sites or PDF related to developer 2000 please send me the details @ mak2786@gmail.com thanks Arun

1666


what is IDE,DMV in sql server?

2254


What is proxy method?

545


How do we represent comments in oracle?

631