I am new to Postgres. How can I write a stored procedure that imports data from a CSV file and populates the table?
Tell me more
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
Take a look at this short article. Solution paraphrased here: Create your table:
Copy data from your CSV file to the table:
|
|||||||||||||||||||
|