0

Senario -There are 2000 records in a .txt file and 3 columns (Name, Phone Num, City). I need to import them into Oracle database vai SQL Loader. Questions - From .txt file, I do not want to import records from 50 to 100, into Oracle database. How can I achive this? And I want to keep Phone number colume null.

4

1 回答 1

0

您应该能够通过使用 RECNUM 和 WHERE 子句完成跳过第 50 到 100 行。您应该能够通过使用 NULLIF TRUE 或制作 CONSTANT 生成列来执行 NULL 列。参考:Oracle SQL*Loader:权威指南中的第 56 页。

于 2012-03-18T03:08:03.090 回答