/relojes/unisex/g-shockarray(4) {
["code"]=>
int(933)
["message"]=>
string(49) "ORA-00933: comando SQL no terminado correctamente"
["offset"]=>
int(585)
["sqltext"]=>
string(765) "select count(*) total from ARTICULOS_LIBRA a where a.codigo_empresa = :empresa and (codigo_estad12 = '128' or exists (select 1 from ARTICULOS_FAMILIAS AF WHERE AF.CODIGO_EMPRESA =a.CODIGO_EMPRESA AND AF.CODIGO_ARTICULO = a.CODIGO_ARTICULO AND AF.NUMERO_TABLA = 12 and AF.CODIGO_FAMILIA = '128')) and (A.ARTICULO_CON_TALLA='N' OR (A.ARTICULO_CON_TALLA='S' AND A.VALOR_CLAVE=A.TALLA_X_DEFECTO)) and alta_joyeria ='N' and EXISTS(SELECT 1 FROM ARTICULOS_CLAVES_ESTADISTICAS CE WHERE CE.EMPRESA='01' AND CE.CLAVE='WGEN' AND CE.VALOR_CLAVE = 'G' AND CE.CODIGO_ARTICULO = A.CODIGO_ARTICULO); and exists(select 1 from articulos_claves_estadisticas c where c.empresa = a.codigo_empresa and c.codigo_articulo = a.codigo_articulo and c.clave='WMAR' AND C.VALOR_CLAVE ='GS')"
}
array(4) {
["code"]=>
int(907)
["message"]=>
string(39) "ORA-00907: falta el paréntesis derecho"
["offset"]=>
int(733)
["sqltext"]=>
string(1101) "select *
from
( select rownum rnum, paginar.*
from (select codigo_empresa, codigo_articulo from ARTICULOS_LIBRA a where a.codigo_empresa = :empresa and (codigo_estad12 = '128' or exists (select 1 from ARTICULOS_FAMILIAS AF WHERE AF.CODIGO_EMPRESA =a.CODIGO_EMPRESA AND AF.CODIGO_ARTICULO = a.CODIGO_ARTICULO AND AF.NUMERO_TABLA = 12 and AF.CODIGO_FAMILIA = '128')) and (A.ARTICULO_CON_TALLA='N' OR (A.ARTICULO_CON_TALLA='S' AND A.VALOR_CLAVE=A.TALLA_X_DEFECTO)) and alta_joyeria ='N' and EXISTS(SELECT 1 FROM ARTICULOS_CLAVES_ESTADISTICAS CE WHERE CE.EMPRESA='01' AND CE.CLAVE='WGEN' AND CE.VALOR_CLAVE = 'G' AND CE.CODIGO_ARTICULO = A.CODIGO_ARTICULO); and exists(select 1 from articulos_claves_estadisticas c where c.empresa = a.codigo_empresa and c.codigo_articulo = a.codigo_articulo and c.clave='WMAR' AND C.VALOR_CLAVE ='GS') order by orden_articulos desc nulls last, campo_orden desc nulls last, codigo_articulo asc ) paginar
where rownum <= 12 )
where rnum >= 1"
}
1746759233
1746759234
1
mf
No se han encontrado articulos