Re: How to merge several attributes and Delete an attribute

Поиск
Список
Период
Сортировка
От Tod McQuillin
Тема Re: How to merge several attributes and Delete an attribute
Дата
Msg-id 20020131213117.K35682-100000@glass.pun-pun.prv
обсуждение исходный текст
Ответ на Re: How to merge several attributes and Delete an attribute  ("Christopher Kings-Lynne" <chriskl@familyhealth.com.au>)
Список 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 по дате отправления:

Предыдущее
От: Alex Ott
Дата:
Сообщение: working with sequences
Следующее
От: Roberto Mello
Дата:
Сообщение: Re: Difference between Access97 and PostgreSQL