vicodin Posted November 25, 2008 Share Posted November 25, 2008 Hello all, I am not all that great with MYSQL but i was just wondering something... Usually if i am storing a true or false value in to my db i just have it a 0 or a 1. Instead of having MYSQL look for a 1 or 0, would it be better or faster to start using IS NULL or IS NOT NULL in my statements? Quote Link to comment https://forums.phpfreaks.com/topic/134272-null/ Share on other sites More sharing options...
fenway Posted November 27, 2008 Share Posted November 27, 2008 That's not what NULL is for. Quote Link to comment https://forums.phpfreaks.com/topic/134272-null/#findComment-700397 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.