When the following script is run, the error 'ORA-01745: invalid host/bind variable name' appears:
define p_start_date = TO_DATE('01-Jan-2010','DD-Mon-YYYY');
define p_start_month = TO_CHAR(&&p_start_date, 'MM-YYYY');
The error is related to the TO_CHAR in the script
WORKAROUND:
None.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center