MySQL "NULL" questions

Posted by Camran on Stack Overflow See other posts from Stack Overflow or by Camran
Published on 2010-02-07T09:13:46Z Indexed on 2010/03/14 9:45 UTC
Read the original article Hit count: 214

Filed under:
|
|
|

I have a table with several columns.

Sometimes some of these column fields may be empty (ie. I won't use them in some cases).

My questions:

  1. Would it be smart to set them to NULL in phpmyadmin?

  2. What does the "NULL" property actually do?

  3. Would I gain anything at all by setting them to NULL?

  4. Is it possible to use a NULL field the same way even though it is set to null?

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql