Created
May 8, 2019 06:43
-
-
Save imcj/931823d87230416de4c4673e2f764530 to your computer and use it in GitHub Desktop.
pgsql to csv
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
COPY persons TO 'C:\tmp\persons_db.csv' DELIMITER ',' CSV HEADER; | |
``` | |
http://www.postgresqltutorial.com/export-postgresql-table-to-csv-file/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment