Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Custom Group By Functions

imarvintpaFeb 18 2004 — edited Feb 18 2004
Is it possible to create custom "Group By" functions?
I want to create something similar to MySQL's Group_ConCat.
I have creted a function that works on single row queries by feeding it a SQL statement (with a where clause like
Select dogs,
RollUp('Select Foo from Bar where FBar = ' || mustard)
From hotdogs;

But it would also be nice to see
Select dogs, Rollup(mustard)
From hotdogs
group by dogs;

(Rollup would create a comma separated list of the paramater given.)

Thanks.
Andy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 17 2004
Added on Feb 18 2004
1 comment
219 views