I'm trying to use SQL Loader and while inserting the data into the tables I need to check some conditions and insert the data.
Example:
CASE COLUMNA
WHEN 'NULL'
-- INSERT NULL VALUE IN IT INSTEAD OF STRING 'NULL'
ELSE
-- INSERT THE DATA AS IS
END
Can we use these case statements in the SQL Loader control file? Couldn't find good examples for this any where.