Skip to content Skip to sidebar Skip to footer

How To Assign Multiple Variable And String In A Variable In Postgresql

I want to assign multiple values or string or their combination to a postgresql variable. What I want to achieve is something like this done in DB2: STRING '(' DELIMIT

Solution 1:

Try CONCAT Function

 DECLARE var_string varchar;
 var_string:= concat(variable_1, variable_2,variable_3);

Post a Comment for "How To Assign Multiple Variable And String In A Variable In Postgresql"