Hi, I am not sure your default value (") is two single quote or just one double quote. If you type two single quote or just one double quote on MySQL Workbench, the generated create statement is different. CREATE TABLE `new_table` ( `idnew_table` int(11) NOT NULL, -- insert value null `two_single_quote` varchar(45) NOT NULL DEFAULT '', -- insert value " `double_quote` varchar(45) NOT NULL DEFAULT '"', PRIMARY KEY (`idnew_table`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; Thanks, Sandy
↧
Forum Post: RE: Bug?? in Schema comparison, Default values are ignored in the case of empty string.
↧