Re: [GENERAL] import CSV file to a table - Mailing list pgsql-general

From Martijn Tonies \(Upscene Productions\)
Subject Re: [GENERAL] import CSV file to a table
Date
Msg-id 980887502AD345C69B409FCAAEFE3589@MARTIJNWS
Whole thread Raw
In response to [GENERAL] import CSV file to a table  (Günce Kaya <guncekaya14@gmail.com>)
List pgsql-general
Hi,
 
If this is a one-time thing, you can use the Import Data tool in Database Workbench, see
 
Hope this helps.
 
With regards,

Martijn Tonies
Upscene Productions
http://www.upscene.com

Database Workbench - developer tool for Oracle, MS SQL Server, PostgreSQL,
SQL Anywhere, MySQL, InterBase, NexusDB and Firebird.
 
Sent: Wednesday, March 08, 2017 10:13 AM
Subject: [GENERAL] import CSV file to a table
 
Hi all,
 
I want to import content of CSV file to a table via bash script without creating temporary table and I also want to skip some columns in CSV file (for instance, CSV file has 12 column and main table has only 2 column, If possible I would use only 2 column in CSV file) Is there any way to do it?
 
Regards,
 
--
Gunce Kaya

pgsql-general by date:

Previous
From: John McKown
Date:
Subject: Re: [GENERAL] import CSV file to a table
Next
From: Albe Laurenz
Date:
Subject: Re: [GENERAL] Request to confirm which command is use for exclusiveoperation