For example, a="", how to convert it into a=null, which is used to transfer values through the interface. "" cannot be used, only null can be used, but the value of the option object without value obtained by using select is "", please tell me How to solve?
PHP中文网2017-06-17 09:17:40
Use select(CASE WHEN(a = '') THEN null ELSE a END) AS a from...This way, you can refer to the article http://blog.csdn.net/qq_16990...