Вот пример.
SQL> desc person
Name Null? Type
----------------------------------------- -------- ----------------------------
CODE NUMBER
NAME VARCHAR2(10)
INFORMATION VARCHAR2(30)
SURNAME VARCHAR2(10)
SQL>
Контрольный файл; примечание fields terminated by x'09'
. Для простоты я включил образцы данных в сам контрольный файл.
options (skip=1)
load data
infile *
replace
into table person
fields terminated by x'09'
(
code,
name,
information,
surname
)
begindata
code name information surname
1234 Peter Peter
1111 Carl example exa John
Тестирование:
SQL> $sqlldr scott/tiger control=test18.ctl log=test18.log
SQL*Loader: Release 11.2.0.2.0 - Production on Sri Tra 29 20:26:06 2020
Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
Commit point reached - logical record count 2
SQL> select * From person;
CODE NAME INFORMATION SURNAME
---------- ---------- ------------------------------ ----------
1234 Peter Peter
1111 Carl example exa John