Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Loader question

Status
Not open for further replies.

jaxtell

Programmer
Sep 11, 2007
349
US
Hi,
I am trying to use sql loader to import certain records based on if they match any value in a lookup table. Something along the lines of
Code:
into table upload_interface_table
when (1:2) = '01' and (60:61) in (select value from common_lookups where ...)
I get the error
Code:
SQL*Loader-350: Syntax error at line 34.
Expecting = or "<>", found "in".
Can something like this be done using sql loader, or will I have to use an external table?

Thanks.

-----------------------------------------
I cannot be bought. Find leasing information at
 
Nope, external tables it is - and they're significantly easier to use than sql loader too.

Regards

T
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top