Re: Logic AND between some strings

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: Logic AND between some strings
Дата
Msg-id AANLkTikYvxg48DBe3E6uPHSNL154-r3WhR49=Sq7rKvH@mail.gmail.com
обсуждение исходный текст
Ответ на Logic AND between some strings  (yagru_alvarez <jmalvarez@estudiantes.uci.cu>)
Список pgsql-general
On Mon, Mar 7, 2011 at 10:14 AM, yagru_alvarez
<jmalvarez@estudiantes.uci.cu> wrote:
> I wanto to make a LOGIC AND between 01100010 and 00001100.
>
> I' m working with C++, I need some code to have an idea about how I
> can perform that.
>

You want to do this in C++ or in SQL?  In SQL it looks like this:

select b'01100010' & b'00001100';

If you want to do this in C++, ask your teacher for help with your homework.

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

Предыдущее
От: Merlin Moncure
Дата:
Сообщение: Re: pg_dump slow with bytea data
Следующее
От: runner
Дата:
Сообщение: First production install - general advice