Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: SOLVED: Re: Getting all rows of sqlplus output on one line

RE: SOLVED: Re: Getting all rows of sqlplus output on one line

From: Marco Gralike <Marco.Gralike_at_AMIS.nl>
Date: Tue, 10 Oct 2006 19:51:17 +0200
Message-ID: <3FA1E6332C73EB4391F729E4EDB7CED96D94BF@amisnt30.AMIS.local>


I have NO idea what you wrote about, but google gave me the answer within two clicks and typing one word "stragg". Look simple to me...  

http://asktom.oracle.com/pls/ask/f?p=4950:8:::::F4950_P8_DISPLAYID:2196162600402


From: oracle-l-bounce_at_freelists.org on behalf of Deepak Sharma Sent: Tue 10-10-2006 18:52
To: rjamya_at_gmail.com; kennaim_at_gmail.com
Cc: oracle-l_at_freelists.org
Subject: Re: SOLVED: Re: Getting all rows of sqlplus output on one line

How?

select stragg(username,';') users
from dba_users
where username like 'SYS%'
order by username
/
select stragg(username,';') users

       *
ERROR at line 1:
ORA-06553: PLS-306: wrong number or types of arguments in call to 'STRAGG'

> yes, try it, it is very simple actually. I had done
> it some time ago.
>
> Raj
>
> On 10/9/06, Ken Naim <kennaim_at_gmail.com> wrote:
> > Is there a way to modify the stragg and
> ODCIAggregateIterate function to
> > accept a variable for the separator. I used a
> replace around the stragg
> > function but was wondering if it would be possible
> (ex: stragg(col,';'))



Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com <http://mail.yahoo.com/>
--
http://www.freelists.org/webpage/oracle-l






--
http://www.freelists.org/webpage/oracle-l
Received on Tue Oct 10 2006 - 12:51:17 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US