zqifa

mysql text字段判断是否为空

mysql text字段判断是否为空

mysql text字段为空
select * from `tableName` where `textField` is null or `textField` = \'\';

mysql text字段不为空
select * from `tableName` where `textField` is not null AND `textField` != \'\';

分类:

技术点:

相关文章: