Logical comparison on Strings

Поиск
Список
Период
Сортировка
От kumar
Тема Logical comparison on Strings
Дата
Msg-id 008801c42c1e$b70efbb0$7502a8c0@hdsc.com
обсуждение исходный текст
Ответы Re: Logical comparison on Strings
Список pgsql-sql
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.
 
Please shed some light.
 
Thanks
Kumar

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

Предыдущее
От: Rod Taylor
Дата:
Сообщение: Re: problem with slow select
Следующее
От: "kumar"
Дата:
Сообщение: Customised Encoding