我想统计一下在某个表中“箱号”为空的记录的条数:
adoquery1.Close;
adoquery1.SQL.Clear;
adoquery1.SQL.Add('select count(*) from cp where  箱号=''''');
//adoquery1.SQL.Add('select count(*) from cp where  箱号=null');//这样改也不行的
adoquery1.Open;
这句话怎么始终值为0呀?(表中肯定有“箱号”为NULL的记录)