Hi,
whenever I try and use Oracle functions in my control files I get an Oracle error. The syntax I try is right out of a SQL loader manual. I am starting to suspect that there may be some env variables or something that are stopping SQL*Loader from finding the Oracle functions. Does anyone have any clues about the following error?
--Here is an example of a decode and to_date call in
--one of my control files.
LAST_VISIT DATE "MM/DD/YYYY" decode(LAST_VISIT,' / / ',NULL,TO_DATE(LAST_VISIT, "MM/DD/YYYY"
--Here is the Oracle error
SQL*Loader-350: Syntax error at line 24.
Expecting "," or "
", found "decode".
LAST_VISIT DATE "MM/DD/YYYY" decode(LAST_VISIT,' / / ',NULL,t
Help is much appreciated.
Thanks
whenever I try and use Oracle functions in my control files I get an Oracle error. The syntax I try is right out of a SQL loader manual. I am starting to suspect that there may be some env variables or something that are stopping SQL*Loader from finding the Oracle functions. Does anyone have any clues about the following error?
--Here is an example of a decode and to_date call in
--one of my control files.
LAST_VISIT DATE "MM/DD/YYYY" decode(LAST_VISIT,' / / ',NULL,TO_DATE(LAST_VISIT, "MM/DD/YYYY"
--Here is the Oracle error
SQL*Loader-350: Syntax error at line 24.
Expecting "," or "
LAST_VISIT DATE "MM/DD/YYYY" decode(LAST_VISIT,' / / ',NULL,t
Help is much appreciated.
Thanks