este codigo me da error...porque?...URGENTE!!!
Publicado por Marcelo (70 intervenciones) el 20/06/2012 00:01:53
Me dice que no se reconoce el verbo o comando...y no veo el error..me podrian ayudar...Gracias
SELECT a.tipo_opera, a.codigo_con, a.fecha, a.num_operac, a.secuencia FROM efe_tcancelacion12 as a ;
WHERE MONTH(a.fecha) = 4 .and. ;
a.tipo_opera = 1 .and. ;
a.codigo_con <> 641 .and. ;
a.n_serie_ca <> 1701 .and. ;
a.n_serie_ca <> 1801 .and. ;
NOT exists (select b.NUM_TAR from efe_ttprueba as b where b.NUM_TAR=a.NUM_TAR)
UNION ;
SELECT a.tipo_opera, a.codigo_con, a.fecha, a.num_operac, a.secuencia FROM efe_tcancelacion12 as a ;
WHERE MONTH(a.fecha) = 4 .and. ;
a.tipo_opera = 1 .and. ;
a.codigo_con = 641 .and. ;
a.n_serie_ca <> 1701 .and. ;
a.n_serie_ca <> 1801 .and. ;
NOT exists (select b.NUM_TAR from efe_ttprueba as b where b.NUM_TAR=a.NUM_TAR) .and. ;
exists (select.num_tar from efe_ttfunefe as c where c.num_tar = a.num_tar) INTO CURSOR seltcan2
SELECT a.tipo_opera, a.codigo_con, a.fecha, a.num_operac, a.secuencia FROM efe_tcancelacion12 as a ;
WHERE MONTH(a.fecha) = 4 .and. ;
a.tipo_opera = 1 .and. ;
a.codigo_con <> 641 .and. ;
a.n_serie_ca <> 1701 .and. ;
a.n_serie_ca <> 1801 .and. ;
NOT exists (select b.NUM_TAR from efe_ttprueba as b where b.NUM_TAR=a.NUM_TAR)
UNION ;
SELECT a.tipo_opera, a.codigo_con, a.fecha, a.num_operac, a.secuencia FROM efe_tcancelacion12 as a ;
WHERE MONTH(a.fecha) = 4 .and. ;
a.tipo_opera = 1 .and. ;
a.codigo_con = 641 .and. ;
a.n_serie_ca <> 1701 .and. ;
a.n_serie_ca <> 1801 .and. ;
NOT exists (select b.NUM_TAR from efe_ttprueba as b where b.NUM_TAR=a.NUM_TAR) .and. ;
exists (select.num_tar from efe_ttfunefe as c where c.num_tar = a.num_tar) INTO CURSOR seltcan2
Valora esta pregunta
0