今天卡了很久的一个地方。
假设在test表中 有一条记录的 date字段为null,但是用
select * from test where date is null;
是搜不出的 。
只有用
select * from test where date = 0;
才有用。
推测 日期格式 is null 没用
记录下来 帮助 新人。
今天卡了很久的一个地方。
假设在test表中 有一条记录的 date字段为null,但是用
select * from test where date is null;
是搜不出的 。
只有用
select * from test where date = 0;
才有用。
推测 日期格式 is null 没用
记录下来 帮助 新人。