Re: Logical comparison on Strings

Поиск
Список
Период
Сортировка
От Rajesh Kumar Mallah
Тема Re: Logical comparison on Strings
Дата
Msg-id 408E32E2.1030709@trade-india.com
обсуждение исходный текст
Ответ на Logical comparison on Strings  ("kumar" <sgnerd@yahoo.com.sg>)
Список pgsql-sql
kumar wrote:

> Dear Friends,
>  
> Postgres 7.3.2 on Linux 7.
>  
> I want to compare to columns and get the logical result as follows.
>  
> C1 is 'YNYNY' . C2 is 'NNYYY'.
>  
> I want to compare like AND and OR operators.
>  
> C1 AND C2 should give result like NNYNY.
> C1 OR C2 should give result like YNYYY.



Bit String Types in PostgreSQL may be what you are
looking for.

btw: what is linux 7?



>  
> Please shed some light.
>  
> Thanks
> Kumar




В списке pgsql-sql по дате отправления:

Предыдущее
От: "Michael L. Hostbaek"
Дата:
Сообщение: Performance issue
Следующее
От: Paul Thomas
Дата:
Сообщение: Re: Performance issue