Database Utilities (MOSC)

MOSC Banner

Sql loader

edited May 4, 2012 4:18AM in Database Utilities (MOSC) 2 commentsAnswered
We currently use the when clause with sql loader to load to multiple tables without a problem but have a new scenario that we can't get working.  We need to be use the returned value from a function call in the when clause.  The example below fails to load any data, when we remove the when clause, the data loads and the record_type value is A so the function call is returning the correct value.  Originally we had record_type POSITION(21:22) CHAR "trim(tempdb.get_rec_type(:record_code))" but that didn't work either, we thought it might be trying to datatype is as two bytes so

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