Home > Uncategorized > bit as tri-state

bit as tri-state

Everyone knows that a computery bit is a 2 state thing. It can be either 0 or 1.

Not sure about that. In SQL Server T-SQL, it can also be ‘NULL’. That makes it tri-state.

Which turned out very useful in an application I was working on.

Heh!

Advertisements
Categories: Uncategorized
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: