Created
May 21, 2023 22:22
-
-
Save davedavis/cbe4def011eaed3e78197b49c9343b8c to your computer and use it in GitHub Desktop.
Copy large CSV into POSTGRES table
This file contains 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
psql -d core -U dave -c "\copy saps from /home/dave/Desktop/SAPS/data.csv delimiter ',' csv header;" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment