Hi every one,
I'm trying to do the follow:
declare
aCad text[][]
begin
...
execute 'aCad:=aCad array[['||var1||','||var2||']]'
...
end; language plpgsql
but I get the follow error:
sintax erro near to "aCad"
aCad := aCad || array[rCad.cmp,rSql.codfor]
^
I guess I should not use "execute" besides of insert, update, delete ... but how could I do in this case ?
Thanks every one.