Reputation: 105
I have a SQL table that I want to import data directly into via a CSV file. Because the table is live and being added to via API calls I do not want to specify the primary key (APid
) in my import as I want it to auto-increment it as the import is processed.
Whenever I try to import the CSV I get the following error:
This is despite me both removing the column APid
from the CSV, and also setting DBeaver to skip the column on import.
My import settings are as follows:
The APid
column is defined as follows:
Ideally I would like to avoid importing the data to a temp table and copying across, is there a way for DBeaver to skip this column and auto-increment it as it imports the CSV?
Upvotes: 1
Views: 1128
Reputation: 435
You do not need to remove APid in CSV file, the process will check it for you. All have to do select skip dropdown list in TableMapp section. It'worked for me!
Upvotes: 0