Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> SQL Loader and new not null columns.
Hi,
i want to migrate a database from centura to oracle with the SQL Loader. The new Schema on Oracle has now on some tables a new Column that has "not null" values. Is it possible to tell the SQL Loader that there should be inserte default values and not a null value? I thougth that if i define the column with a default value that the SQL Loader will take this value, but that seems not to be.
The controlfile:
LOAD DATA
INFILE '/LinuxDBMigration/Data.bulk'
BADFILE '/LinuxDBMigration/Data.bad'
DISCARDFILE '/LinuxDBMigration/Data.dis'
APPEND INTO TABLE usr.xsession
FIELDS TERMINATED BY ','
("SESSIONID","XSTART" DATE(20) "dd.MM.yyyy HH24.MI.SS","XEND" DATE(20))
Thx for help
akush Received on Fri Aug 13 2004 - 05:03:28 CDT