astralaaron Posted May 13, 2007 Share Posted May 13, 2007 `name` varchar(65) NOT NULL default '',just wondering, default '' means what? that it is empty by default?if thats true what is NOT NULL ?it means an entry into that table needs content? or what!help me out, thanks. Link to comment Share on other sites More sharing options...
MildewMan1 Posted May 13, 2007 Share Posted May 13, 2007 means that the default value will automatically be the first of the possible allowed values. So that certain variable (if not set), would automatically contain something other than a NULL value all the way down your table.Primary keys cannot contain NULL values. And also, NULL has a different value than 0, an empty string (""), or a space (" ")...it means there absolutely nothing there. Link to comment Share on other sites More sharing options...
astralaaron Posted May 13, 2007 Author Share Posted May 13, 2007 thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.