idejuan
idejuan

Reputation: 471

Create automatic table columns SQL code after a .CSV file in PostgreSQL

I have some large (+500 Mbytes) .CSV files that I need to import into a Postgres SQL database.

I am looking for a script or tool that helps me to:

Thank you very much

Upvotes: 1

Views: 367

Answers (1)

eshirvana
eshirvana

Reputation: 24568

you can use this open source tool called pgfutter to create table from your csv file.

git hub link

also postgresql has COPY functionality however copy expect that the table already exists.

Upvotes: 1

Related Questions