Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
489 views
in Technique[技术] by (71.8m points)

function - Oracle aggregate for joining strings with comma, and about writing custom aggregates

How can i create a function on Oracle like sum, min, max?

it will run on result set.

Select join(',', Name), sum(total) From Account Group By IdCity
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Here is a link to the documentation that describes how you can create your own aggregate functions: http://download.oracle.com/docs/cd/E11882_01/appdev.112/e10765/aggr_functions.htm

Regards,
Rob.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...