Join GitHub today
Better exception on COPY API confusion #1673
I want to add datas from a csv file into the table tbl_test. This table has no relation, so that it is very easy.
The Content of my csv file is very Basic:
No I have a test SUB in Visual Basic .net with the following Content
Further technical details
Npgsql version: 3.2.5
If you have your CSV file on the client side (where the Npgsql app is running), then you should be using
If you simply want to import a file present on your server, just execute the COPY command as a regular SQL - create a command and execute it with ExecuteNonQuery. Don't use the BeginTextImport API.
Will keep open to fix the error though.