Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BITTEST() equivalent on SQL Server?
Message
 
 
To
20/12/2012 08:32:25
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01560242
Message ID:
01560272
Views:
46
This message has been marked as a message which has helped to the initial question of the thread.
>Thank you.
>
>>See & operator
>>
>>>
>>>Is there an equivalent to BITTEST() function that works on SQL Server? For example, if I have the following expression in the SQL Select:
>>>
>>>select * from mytable where BITTEST( field_name, 1 )
>>>
>>>
>>>Thank you.

See this good blog on this topic by Michelle Ufford http://sqlfool.com/2009/02/bitwise-operations/
and make sure to also check blog post that Denis Gobo references in the comments (In fact, I started looking for Denis post, but found this good post by Michelle first).
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform