oracle - Does hsqldb provide a function similar to listagg? -


i looking function (or group of functions) in hsqldb similar oracle's listagg.

i have part of larger select , keep syntax similar possible in hsqldb:

select listagg(owner_nm, ', ') within group (order owner_nm)         ownership fk_biz_id = biz.biz_data_id) current_owner 

the point of we're trying use hsqldb remote work , oracle working on site, prod, etc want change ddls little possible achieve that.

looking @ array_agg, doesn't seem similar (as far being able pull separate table we're doing above ownership). suggestions how may accomplish this?

group_concat looking for:

http://www.hsqldb.org/doc/2.0/guide/dataaccess-chapt.html#dac_aggregate_funcs

quote manual:

group_concat specialised function derived array_agg. function computes array in same way array_agg, removes null elements, returns string concatenation of elements of array


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -