---
title: "is not null 和 =''"
author: "fgh2011"
date: "2012-12-04T09:00:07Z"
tags: []
categories: ["数据库"]
slug: "is-not-null"
draft: false
lastmod: "2012-12-04T09:00:44Z"
id: 1740588
url: "https://fgh2011.iteye.com/blog/1740588"
---

数据库中A字段的值为空
如果要用来过滤A字段不为空的情况
建议使用A=''来判断，使用A is not null 判断有时会不满足条件