Want to reject rows with NULL values in particular column [message #167994] |
Tue, 18 April 2006 05:47 |
pawansinghal
Messages: 3 Registered: February 2006
|
Junior Member |
|
|
Hi,
I am using external tables to read CSV files and an Merge statement to insert/update data into the destination table. One of the column in the destination table is set to NOT NULL. Sometimes, there are NULL values presented in the CSV files for that column. And those rows are not being rejected by External tables. And the MERGE statement fails saying cannot insert null into that column.
How can I make external table to reject rows with NULL values for that particular column and report them in the bad file.
-Thanks
Pawan
[Updated on: Tue, 18 April 2006 05:49] Report message to a moderator
|
|
|
|
|