terryds Posted August 1, 2013 Share Posted August 1, 2013 Hey, i want to make a description of role column in my table.... But, i don't know what's better between DEFAULT NULL or DEFAULT '' ? Any suggestion? Link to comment Share on other sites More sharing options...
justsomeguy Posted August 1, 2013 Share Posted August 1, 2013 Neither is "better", if one of them was always better then there wouldn't be a choice. What matters is how you want the data in your database to be stored. If you want to use null values, then use null values, if you want to use empty strings then use empty strings. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now