Error consulta
Publicado por Niko (5 intervenciones) el 11/08/2009 15:42:49
Tengo la siguiente consulta en SQL y me genera error : Incorrect syntax near '<'.
me podrin ayudar. Gracias
ex.expIdentificacionTributaria as 'idnt_fscal',
case ex.expIdentificacionTributaria
when len(ex.expIdentificacionTributaria)< 10 then 'C' else 'N' end as 'tipnif',
case ex.expIdentificacionTributaria
when len(ex.expIdentificacionTributaria)< 10 then 'S' else 'N' end as 'persfisica',
me podrin ayudar. Gracias
ex.expIdentificacionTributaria as 'idnt_fscal',
case ex.expIdentificacionTributaria
when len(ex.expIdentificacionTributaria)< 10 then 'C' else 'N' end as 'tipnif',
case ex.expIdentificacionTributaria
when len(ex.expIdentificacionTributaria)< 10 then 'S' else 'N' end as 'persfisica',
Valora esta pregunta


0