把多个字符串连接起来,在HANA SQL里这样写
关键字:concat
create procedure concat_me (out itens nvarchar(200))再比如:
as begin
declare cursor C for SELECT OITM.”ItemName” from OITM;
itens := ”;
for R as C do
itens := :itens || R.”ItemName” || char(13) || ”;
end for;
select :itens as “Itens” from dummy;
end;
insert into TEST_TABLE values ('STR1'||'STR2');可以使用关键字来代替
concat('STR1','STR2')