ORA-01008

Error: ORA-01008: not all variables bound

Causa: A SQL statement containing substitution variables was executed without all variables bound. All substitution variables must have a substituted value before the SQL statement is executed.

Acción: In OCI, use an OBIND or OBINDN call to substitute the required values.

COMENTARIOS:

por Anónimo | 10/04/2006 18:03:05

RE: ORA-01008

SELECT a.no_cia,
a.centro,
a.TIPO_DOC,
a.periodo,
a.ruta,
a.NO_FISICO,
a.SERIE_FISICO,
abs(trunc(a.fecha_vence) - trunc(sysdate)) difer,
a.NO_DOCU,
nvl(a.monto_hospital,0) monto_hospital,
nvl(a.monto_honorario,0) monto_honorarios,
a.FECHA,
a.FECHA_VENCE,
a.saldo,
a.grupo,
DECODE('D','D',NVL(a.m_original,0),NVL(a.m_original,0)*-1) M_ORIGINAL,
a.NO_CLIENTE,
a.NO_CIA,
a.HIST_CLINICA_PAC,
a.numero_prefactura,
a.NO_CARTA,
a.NUMERO_RECAP,
a.SERIE_FAC||'-'||A.NUMERO_FAC NUMERO_FACTURA
FROM ARCCMD a
WHERE a.no_cia = :no_cia
and a.centro = :no_centro
and a.grupo between :grupo_inicial and :grupo_final
and a.no_cliente = :no_cliente
and trunc(A.FECHA) between :fecha_ini and :fecha_fin
and a.estado != 'P'
and a.tipo_doc 'ND'
and nvl(a.anulado,'N') != 'S'
and a.TIPO_DOC in ( select B.TIPO
from arcctd b
where b.no_cia = :no_cia
and b.tipo_mov = 'D')
order by a.FECHA_VENCE