Database Utilities (MOSC)

MOSC Banner

Sqlldr : how to pass current date to INFILE parameter

edited Jun 21, 2013 4:14PM in Database Utilities (MOSC) 6 commentsAnswered
 Hi All,
Below is the sample control file line. I want to pass current date in INFILE parameter.

  e.g. INFILE '$CUSTOM_TOP/docs/inv'    ||    to_char(sysdate,'ddmmyyyy')    ||    '.csv'

But it is giving error. May be the sqlldr does not understand the above format.

Can anybody please help.

Jay

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center