Join the social network of Tech Nerds, increase skill rank, get work, manage projects...

How to import/export data using CSV in PostgreSQL

To export a table data from Postgres database to a CSV file, use the "COPY to" command. You can create a CSV file using MS-Excel or directly create a file from the command. Syntax: COPY (SELECT * FROM table_name) to E'C:\Users\main\Documents\...
Sign In

Sign up using

Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: