[firebase-br] ajuda em sql

justiceiro punisher punisher-br em hotmail.com
Qui Nov 23 10:24:50 -03 2006


amigos onde ha o erro nessa sql ?

Sql = " select Auto_id,data_vencimento,caixa, (case tipo_lancamento when 
'MC' then 'MC-Moeda/Cedula' when 'CT' then 'CT-Cartao' end) as tipo,total 
from pagamento where janela='" + txt_janela.Text + "' and tipo_pagamento=4"

_________________________________________________________________
Inscreva-se no novo Windows Live Mail beta e seja um dos primeiros a testar 
as novidades-grátis. Saiba mais: 
http://www.ideas.live.com/programpage.aspx?versionId=5d21c51a-b161-4314-9b0e-4911fb2b2e6d





Mais detalhes sobre a lista de discussão lista