Answers for "postgres export database to csv"

SQL
0

postgresql export database

// Command Prompt // it may be needed to update the PATH on cmd
pg_dump -U username dbname > filename.pgsql
Posted by: Guest on February-19-2021
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

Code answers related to "postgres export database to csv"

Code answers related to "SQL"

Browse Popular Code Answers by Language