Below import command works fine if the nrgcore.bookmarks table is empty, please let me know how to include 'truncate table ngrcore.bookmarks' in the below command so that it first truncate the table and then import the data successfully.
psql -U nrgadmin -d enwdb -c "COPY nrgcore.bookmarks(login, application, description, centerx, centery, scale, bookmarkid, path) FROM 'D:\Bookmarks_Table\Bookmarks.csv' DELIMITER ',' CSV HEADER"
Any help/suggestion would be much appreciated.
TRUNCATEstatement beforeCOPYin the-coption, separated by a semicolon.