Home » RDBMS Server » Server Utilities » SQL*LOADER-how to load the infile name to field?
SQL*LOADER-how to load the infile name to field? [message #163827] Mon, 20 March 2006 04:59 Go to next message
orbsun
Messages: 1
Registered: March 2006
Junior Member
I need to record the data file name to field when I use sqlldr.

in control file:
LOAD DATA
APPEND
INTO test
(
filename "SUBSTR('\DATA\', INSTR('\DATA\','/', -1, 1)+1)"
)

but failed.

Thanks for advice.
Re: SQL*LOADER-how to load the infile name to field? [message #163833 is a reply to message #163827] Mon, 20 March 2006 05:19 Go to previous message
Mahesh Rajendran
Messages: 10707
Registered: March 2002
Location: oracleDocoVille
Senior Member
Account Moderator
Please see whether this helps
http://www.orafaq.com/forum/t/12234/0/
Previous Topic: concatenate string to column while loading
Next Topic: need help with exp/imp plz!
Goto Forum:
  


Current Time: Thu Jul 04 19:27:17 CDT 2024