sql - default a column with empty string -


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

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

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

Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

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