Nguyễn Tân
New member
Should I use NULL or empty string?
Answer
Key things to take away are that there is no difference in table size, however some users prefer to use
an empty string as it can make queries easier as there is not a NULL check to do. You just check if the string is empty. Another thing to note is what NULL means in the context of a relational database.
Answer
Key things to take away are that there is no difference in table size, however some users prefer to use
an empty string as it can make queries easier as there is not a NULL check to do. You just check if the string is empty. Another thing to note is what NULL means in the context of a relational database.