[firebase-br] Case

Pedro Santos pedro.santos em tecnomoageira.com.br
Sex Maio 19 11:56:50 -03 2006


Tenho uma sql que retorna uma série de dados e uso alguns case, so que 
tenho um campo em uma tabela do tipo data que quando esta null no meu 
relatorio aparece 0 e eu gostaria que ficasse em branco, como faço o case?
Abaixo segue uma parte da sql.

case b.intate
    when '0' then 'Não Interpretado'
  when '1' then 'Limiares Aceitáveis';
  when '2' then 'Não sugestivo';
  when '3' then 'Sugestivo'
  when '4' then 'Leve'
  when '5' then 'Moderada'
  when '6' then 'Severa'
  when '7' then 'Profunda'
end,
case b.dtcalibr
    when is null then ' '
end

-- 


      *Pedro Omar Cunha dos Santos*

Projeto ADP SST - DATA
Fone: *0**(51) 2131 3388*
email: pedro.santos em tecnomoageira.com.br
pedro.omarcsantos em gmail.com
www.tecnomoageira.com.br
"There is not try"

*/010010000 01100101 01100100 01110010 01101111/*





Mais detalhes sobre a lista de discussão lista