Search Postgresql Archives

Re: Logic AND between some strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 7, 2011 at 10:14 AM, yagru_alvarez
<jmalvarez@xxxxxxxxxxxxxxxxxx> 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.

-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux