I was trying to import CSV into PostgreSQL using JDBC. I'm using this command:
sql ="\\copy data1_1 from 'C:\\Users\\legolas\\Desktop\\data1.csv' DELIMITERS ',' CSV";
But nothing gets written to the table. I'm not getting any errors.
When I use the same command in the psql
shell everything works perfectly.
I'm working on windows.