Viewing entries tagged
bit-flipping SQL

Comment

2013-04 – Bit-Flipping SQL

A customer had an interesting problem recently involving selective bit-flipping. The real scenario was a bit more complicated, but it came down to the following scenario: the client has a large number of members. Each member visits multiple times. They want to switch the value between X2 and NULL every time a ‘true’ event occurs.

Comment