Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
''SQL ステートメントを使用して、列のデフォルト値がではなく空の文字列であることを確認する方法はありますNULLか?
''
NULL
はい - DEFAULT 制約を使用します。
DROP TABLE IF EXISTS `example`.`test`; CREATE TABLE `example`.`test` ( `string_test` varchar(45) NOT NULL DEFAULT '' ) ENGINE=InnoDB DEFAULT CHARSET=latin1;