February 6, 2016 at 11:12 am
Comments posted to this topic are about the item Bitwise OR
February 7, 2016 at 4:04 am
Extremely simple for C programmer!!!
Thanks
February 7, 2016 at 11:03 pm
This was removed by the editor as SPAM
February 8, 2016 at 5:31 am
Yup, it definitely goes back a couple of years. Do I see a question series coming?
February 8, 2016 at 8:28 am
Does anyone have any real-world examples of using bitwise functions in SQL Server? I've never used them before, but maybe there were times I could/should have and just didn't know enough about them.
Be still, and know that I am God - Psalm 46:10
February 8, 2016 at 8:59 am
The whole table and column thing is a bit of overkill. You get the same result with:
select 250 | 255
Don Simpson
February 8, 2016 at 9:13 am
I use bitwise operators occasionally, but moving towards using XML instead.
Still enjoy bitwise logic.
Thanks for the question.
February 8, 2016 at 9:21 am
david.gugg (2/8/2016)
Does anyone have any real-world examples of using bitwise functions in SQL Server? I've never used them before, but maybe there were times I could/should have and just didn't know enough about them.
Not a lot of call (that I've ever seen) for them in query language. They're useful for writing operating systems and compilers, and when you're in a tight space like an embedded system. They are also useful for RDD (resumé driven development).
Don Simpson
February 8, 2016 at 10:24 am
I've seen it done to control flow through a set of rows, but that's about it. I've not had to implement it anywhere.
February 8, 2016 at 10:57 am
Simple and neat - thanks, Junior!
February 10, 2016 at 4:21 am
Thanks.
February 10, 2016 at 4:22 am
Thansk.
February 11, 2016 at 12:52 am
Nice question, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
February 11, 2016 at 8:40 am
Nice question, but the explanation is little sloppy; as the columns are ints, their binary representations each have 32 bits, not the 16 povided i teh explnation. Of course the missing bits re all zero, but still ...
Tom
February 17, 2016 at 4:13 pm
A new week-end question but as Carlo noticed it , an easy one for programmers in C# ( or more generally C ).
Thanks for it.
Viewing 15 posts - 1 through 15 (of 17 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy