MySQL Forums
Forum List  »  Newbie

Re: quickie.. query from version 3 into version 4.1?
Posted by: Roland Bouman
Date: July 26, 2005 04:38PM

I'm curious, why are 0 or the empty string 'bad' default values? I'd say the meaning of your column determines wheter these are appropriate default values.

Surely, 0 or '' are not basically the same as NULL (although mysql uses these as NULL substitutes), or are they? I always thought that NULL is not really a value, it's more like a marker saying 'Nope, no value here' or 'value not specified', whereas 0 and '' are actual values.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.