on 2010 Dec 14 5:27 PM
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
Request clarification before answering.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.