dennismonsewicz Posted September 18, 2008 Share Posted September 18, 2008 To allow a SQL column to have a NULL value? Quote Link to comment https://forums.phpfreaks.com/topic/124849-is-it-good/ Share on other sites More sharing options...
F1Fan Posted September 18, 2008 Share Posted September 18, 2008 That depends on your requirements. If it's OK to you for a column to be NULL, then it's OK. It would, however, be bad to allow NULL values in every column in a table. Quote Link to comment https://forums.phpfreaks.com/topic/124849-is-it-good/#findComment-644993 Share on other sites More sharing options...
.josh Posted September 18, 2008 Share Posted September 18, 2008 Depends on what you plan on storing in it and what your program uses it for. SQL doesn't care one way or the other it's a matter of your program logic. Quote Link to comment https://forums.phpfreaks.com/topic/124849-is-it-good/#findComment-644994 Share on other sites More sharing options...
Mchl Posted September 18, 2008 Share Posted September 18, 2008 I've seen this rule once. "If majority of your rows would have NULL in this field, better make separate table out of it" Quote Link to comment https://forums.phpfreaks.com/topic/124849-is-it-good/#findComment-644999 Share on other sites More sharing options...
dennismonsewicz Posted September 18, 2008 Author Share Posted September 18, 2008 alright, thanks for everyones replies i was just doing some thinking about structuring of a sql table. Quote Link to comment https://forums.phpfreaks.com/topic/124849-is-it-good/#findComment-645014 Share on other sites More sharing options...
aschk Posted September 19, 2008 Share Posted September 19, 2008 I'm going to stick my neck out and say "no"... now what are you going to do? Quote Link to comment https://forums.phpfreaks.com/topic/124849-is-it-good/#findComment-645612 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.