Re: [BUGS] plpgsql Integer Concat To String

2003-12-19 Thread Rich Hall
Convert "counter" into a VARCHAR and coincatinate that to IdSet using th || operator. You cannot concatinate data of differing TYPEs. Rick Puneet Paul wrote: Hi, I want to concatenate a it counter to a string in a loop in plpgsql. DECLARE counter integer := 1; IdSet char : = 'UniqueId' IdForE

Re: [BUGS] plpgsql For SQLQuery Loop Flags Error

2003-12-18 Thread Rich Hall
I should play with your code, but I'm lazy. 1) lmfpLimit integer ALIAS for $3 is missing the trailing ";" lmfpLimit integer ALIAS for $3; 2) VARCHAR variables need a length curId varchar; should be curId varchar(100); 3) I have not seen this style of declaration, where the argum