Answers for "postgresql export query results to csv file"

SQL
1

postgresql export output table as a csv

COPY table_name TO 'file_name.csv' DELIMITER ',' CSV HEADER;
Posted by: Guest on February-07-2021
1

postgresql import data from csv

copy table from '/home/usama/Documents/columns_rearrange.csv' csv header ;
Posted by: Guest on February-06-2021

Code answers related to "postgresql export query results to csv file"

Code answers related to "SQL"

Browse Popular Code Answers by Language