SELECT Field1 || Field2 FROM Table - Mailing list pgsql-hackers

From Jean-Michel POURE
Subject SELECT Field1 || Field2 FROM Table
Date
Msg-id 4.2.2.20010613162915.00aa1ef0@smtp
Whole thread Raw
Responses Re: SELECT Field1 || Field2 FROM Table
List pgsql-hackers
Hello all,

I have PostgreSQL 7.1.1 installed on a RedHat 7.1 server.

When running the following query "SELECT Field1 || Field2 AS Result FROM Table"
the result is NULL when Field2 is NULL.

Same as if I use a PL/pgSQL function to concatenate Filed 1 || Field2.

Did I miss something?

Regards,
Jean-Michel POURE, pgAdmin development team



pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Re: REPLACE INTO table a la mySQL
Next
From: Doug McNaught
Date:
Subject: Re: vacuum