dbTalk Databases Forums  

Exists a aggregate function (Oracle9) for varchar that generate a comma separated lsit

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Exists a aggregate function (Oracle9) for varchar that generate a comma separated lsit in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Exists a aggregate function (Oracle9) for varchar that generate acomma separated lsit - 06-25-2008 , 01:40 PM






On Jun 25, 2:24*pm, Krzysztof Jamróz <SpAMkrzyh000J... (AT) ZLYo2 (DOT) pl>
wrote:
Quote:
Dnia Wed, 25 Jun 2008 16:34:39 +0200, Norbert Winkler napisa³(a):

The LIST Function
Oleg Loa
Dmitry Yemanov
(v.2.1) This function returns a string result with *the concatenated
non-NULL values from a group. It returns
NULL if there are no non-NULL values.

Is there any equivalent in ORACLE 9?

It seems that there is a COLLECT function in Oracle 10i
(http://www.adp-gmbh.ch/blog/2005/march/28.html)
But not so easy to use like LIST in FireBird.

You can check stragg function (it is user defined aggregate function).

--
Krzysztof Jamróz
Also of possible interest on the topic of creating or extracting comma
delimted lists would be the dbms_utility.table_to_comma and
comma_to_table procedures for unloading and loading pl/sql tables
(arrays).

HTH -- Mark D Powell --


Reply With Quote
  #12  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Exists a aggregate function (Oracle9) for varchar that generate acomma separated lsit - 06-25-2008 , 01:40 PM






On Jun 25, 2:24*pm, Krzysztof Jamróz <SpAMkrzyh000J... (AT) ZLYo2 (DOT) pl>
wrote:
Quote:
Dnia Wed, 25 Jun 2008 16:34:39 +0200, Norbert Winkler napisa³(a):

The LIST Function
Oleg Loa
Dmitry Yemanov
(v.2.1) This function returns a string result with *the concatenated
non-NULL values from a group. It returns
NULL if there are no non-NULL values.

Is there any equivalent in ORACLE 9?

It seems that there is a COLLECT function in Oracle 10i
(http://www.adp-gmbh.ch/blog/2005/march/28.html)
But not so easy to use like LIST in FireBird.

You can check stragg function (it is user defined aggregate function).

--
Krzysztof Jamróz
Also of possible interest on the topic of creating or extracting comma
delimted lists would be the dbms_utility.table_to_comma and
comma_to_table procedures for unloading and loading pl/sql tables
(arrays).

HTH -- Mark D Powell --


Reply With Quote
  #13  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Exists a aggregate function (Oracle9) for varchar that generate acomma separated lsit - 06-25-2008 , 01:40 PM



On Jun 25, 2:24*pm, Krzysztof Jamróz <SpAMkrzyh000J... (AT) ZLYo2 (DOT) pl>
wrote:
Quote:
Dnia Wed, 25 Jun 2008 16:34:39 +0200, Norbert Winkler napisa³(a):

The LIST Function
Oleg Loa
Dmitry Yemanov
(v.2.1) This function returns a string result with *the concatenated
non-NULL values from a group. It returns
NULL if there are no non-NULL values.

Is there any equivalent in ORACLE 9?

It seems that there is a COLLECT function in Oracle 10i
(http://www.adp-gmbh.ch/blog/2005/march/28.html)
But not so easy to use like LIST in FireBird.

You can check stragg function (it is user defined aggregate function).

--
Krzysztof Jamróz
Also of possible interest on the topic of creating or extracting comma
delimted lists would be the dbms_utility.table_to_comma and
comma_to_table procedures for unloading and loading pl/sql tables
(arrays).

HTH -- Mark D Powell --


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.