Re: How to merge several attributes and Delete an attribute - Mailing list pgsql-sql

From Tod McQuillin
Subject Re: How to merge several attributes and Delete an attribute
Date
Msg-id 20020131213117.K35682-100000@glass.pun-pun.prv
Whole thread Raw
In response to Re: How to merge several attributes and Delete an attribute  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
List pgsql-sql
On 31 Jan 2002, Christopher Kings-Lynne wrote:

> update table set newcol = FirstName||" "||MiddleName||" "||LastName;
>
> But why do that???  Just do your like query as follows:
>
> select * from table where FirstName like 'blah' or MiddleName like 'blah' or
> LastName like 'blah';

or...

select * from table where FirstName||" "||MiddleName||" "||LastName like
'blah';
-- 
Tod McQuillin




pgsql-sql by date:

Previous
From: Alex Ott
Date:
Subject: working with sequences
Next
From: Roberto Mello
Date:
Subject: Re: Difference between Access97 and PostgreSQL