Quantcast
Channel: Toad for MySQL
Viewing all articles
Browse latest Browse all 1315

Forum Post: RE: Bug?? in Schema comparison, Default values are ignored in the case of empty string.

$
0
0
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

Viewing all articles
Browse latest Browse all 1315

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>