cancel
Showing results for 
Search instead for 
Did you mean: 

Using filler() multiple times

justin_willey
Participant
1,832

Situation - I have a data file I want to load, but it has additional data that doesn't fit my table and if possible I don't want to have to change the table structure.

So I look at the docs for LOAD TABLE and there we are - just what I need:

When a column list is specified, it lists the columns that are expected to exist in the file and the order in which they are to appear. Column names cannot be repeated. Column names that do not appear in the list will be set to null/zero/empty or DEFAULT (depending on column nullability, data type, and the DEFAULT setting). Columns that exist in the input file that are to be ignored by LOAD TABLE can be specified using the column name "filler()".

However, what ever I do, I don't seem to be able to have more that one column ignored. If I use filler() more than once I get a duplicate column error.

Is there away of getting columns ignored without hitting the Column names cannot be repeated restriction ?

Thanks

v10.0.1

Accepted Solutions (0)

Answers (0)