Posted on Leave a comment

Programmer’s note of the day

If you use a query to update a column’s value to -1 and the result is that a positive one is stored in the database, make sure your column type is not set to "bit."

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.