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. -- Grato, Mauricio Cruz Sygecom Informática [1] 51 3442-3975 / 3442-2345 Links: ------ [1] http://www.sygecom.com.br