MySQL - Selecting based upon the value of a single Bit

    Date: 04/05/05 (PHP Community)    Keywords: mysql, sql

    Hi,

    Does anyone know if its possible to do something like:-

    SELECT * FROM $table if(query_bit(flags, 2))

    in a MySQL call.

    Thanks


    Pual

    Source: http://www.livejournal.com/community/php/279904.html

« Security || An Introduction of Sorts... »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home