Link to home
Start Free TrialLog in
Avatar of Mounika Tirumala
Mounika Tirumala

asked on

sqlldr

Not tested but you might try -
LOAD DATA
INFILE 'yourdatafile'
APPEND INTO TABLE yourtable
FIELDS ENCLOSED BY ','
(
desc "substr(:desc,1,1)"
)


first i would like to say thanks

i tried this my ctl script was successful

but when iam triying to retriving the data from the table it will show no rows selected

can u tell me the reason
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

If the data was like what you posted in your original question it is the POSITION that I posted.  Unless your data column is first in the file then the control file you posted won't work.

https://www.experts-exchange.com/questions/29044154/sqlldr.html?anchorAnswerId=42216129#a42216129
Avatar of Mounika Tirumala

ASKER

NO, still iam wating for solution
>>i tried this my ctl script was successful

Check the generated LOG file.  It may complete but still not load any data.  The log file will tell you why.

If you cannot decipher the file, please attach it.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.