Fórum Fltrar Blob null #60342
27/11/2008
0
Sremulador
Curtir tópico
+ 0Posts
27/11/2008
Builder
Contar todos os Nulos
select count(*) from hemcli where status_reg_log is null
Contar todos os não Nulos
select count(*) from hemcli where status_reg_log is not null
Gostei + 0
28/11/2008
Sremulador
Gostei + 0
28/11/2008
Builder
campo_blob é nulo -> Vai mostrar
where campo_blob is not null
campo_blob é nulo -> Não vai mostrar
Me parece que esta esquecendo de colocar o NOT na cláusula. Aqui funciona, eu utilizei o Flamerobin nos testes.
Gostei + 0
29/11/2008
Sremulador
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)