Created
September 5, 2013 11:37
-
-
Save onexdrk/6449029 to your computer and use it in GitHub Desktop.
PGSQL bitmask select
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
select * from aaa where ((rubrics::bit(40)::bit varying(40) & B'0000000000000000000000000000000011'::bit(40)::bit varying(40)) > B'0'::bit(40)::bit varying(40) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment