瀚高資料庫
目錄
環境
文檔用途
詳細資訊
環境
系統平台:Microsoft Windows (64-bit) 10
版本:6.0
文檔用途
用于解決怎麼在瀚高資料庫中實作和Oracle資料庫中stragg()函數同樣的功能
CREATE FUNCTION "DM_OA"."STRAGG" ( input varchar2 )
RETURN varchar2
PARALLEL_ENABLE AGGREGATE USING string_agg_type;
create or replace function DM_OA.STRAGG_FUN(text,text) returns text as
$$
select concat($1,$2);
$$ language sql strict;
CREATE AGGREGATE DM_OA.STRAGG(text)
(
sfunc = DM_OA.STRAGG_FUN,
stype = text
);