ich habe eine tabelle in oracle welche ich aus einem csv file befüllen möchte (mittel sql*loader)
das csv file hat 20 spalten die tabell 10!
loaderfile:
LOAD DATA
INFILE 'd:\xxxx\test.csv'
APPEND
INTO TABLE test
FIELDS TERMINATED BY ';'
trailing nullcols
(
col1 FILLER,
ID "rtrim(:ID)",
FIELD1 "rtrim(:FIELD1)",
FIELD2 "rtrim(:FIELD2)",
col2 FILLER
)
ich möcte wie oben besch. die erste Spalte nicht laden, die 5.Spalte nicht,...aber so klappt es nicht, einfach einen ',' klappt auch nicht...?
wer weiß da rat?
Die Oracle Tabelle 'test' besitzt nur die definierten Felder ID, FIELDx,...die mit col gibts nicht...darum möcht ich sie nicht laden!
SQL*Loader error: SQL*Loader-350: Syntax error at line 9.
Expecting "," or ")", found "FILLER".
col1 FILLER,
das CSV File ist so aufgebaut
asdas;12;TE;ST;0988;....usw.
Danke!