View Single Post

   
  #1 (permalink)  
Old 04-09-2008, 05:58 AM
Emi Lu
 
Posts: n/a
Default Questions about "varchar" NOT NULL default = char(1) ?

Greetings,

If one column "col1" is defined as :

col1 varchar(1) not null default ''

Does it means that col1's definition is equal to

col1 char(1) not null default ''


Put it another way, will char '' be saved as char(1) or char '' does not
use space at all?

Thanks a lot,
Emi

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply With Quote