"Tony Marston" <[EMAIL PROTECTED]> writes: > I would like the option to use CONCAT(field1, ' ', field2) instead of the > vertical bar syntax (field1 || ' ' || field2) as this is also available in > other popular databases (MySQL, ORACLE).
|| is the SQL standard, CONCAT() is not. But feel free to write your own functions: create function concat(text,text) returns text as 'select $1 || $2' language sql strict immutable; create function concat(text,text,text) returns text as 'select $1 || $2 || $3' language sql strict immutable; ... repeat up to whatever number of parameters seems needed ... regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org