sql - default a column with empty string -


क्या एक कॉलम का डिफ़ॉल्ट मान एक रिक्त स्ट्रिंग '' < / Code> के बजाय NULL ?

हां - एक डिफ़ॉल्ट बाधा का उपयोग करें:

<पूर्व> ड्रॉप तालिका यदि उदाहरण '`` `टेस्ट`; टेबल बनाओ 'उदाहरण'। `टेस्ट` (` string_test` varchar (45) नल डिफॉल्ट '') इंजन = InnoDB DEFAULT CHARSET = latin1;

Comments

Popular posts from this blog

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -

gtk - Python Window Resize -

c# - read full xml file data over tcp -