I am programming a PL / SQL for the first time, and at the time of executing it it tells me that there is a Bind variable that is not declared, but it is, it would be the variable vFhfechax
:
Code:
DECLARE
vFecha_proceso VARCHAR2(20);
vFhfechax T0CIHECP.FHFECHAX%TYPE;
BEGIN
--INICIALIZAMOS CONSTANTES
vFhfechax:=TO_DATE('31/12/9999','DD/MM/YYYY');
RECUPERAMOS LA FECHA DE PROCESO
vFecha_proceso:=to_date('&1','dd/mm/yyyy');
vFhfechax:=vFecha_proceso;
Why is this happening?