Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Can you use schema name in "INTO TABLE" in sqlldr?

162178Nov 9 2012 — edited Nov 9 2012
Hi All,

I have a simple question.

My Oracle userid is SBHAT.
SBHAT has insert,delete, select,update privileges on a Table in another schema XYZ.

I want to SQL*Load data in Table EMPLOYEE in XYZ schema, using my userid. Something like ....

sqlldr userid=*SBHAT*/password control=test.ctl data=test.txt

I tried to use the following in my test.ctl file but it does not work.

load data
append
into table "XYZ.EMPLOYEE"
fields terminated by ',' optionally enclosed by '"'
trailing nullcols

Can someone give me the proper syntax for into table that uses *schema.table_name* construct.

Thanks,

Suresh
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 7 2012
Added on Nov 9 2012
2 comments
926 views