Massive Insertion
Massive Insertion
От:
Florent THOMAS <mailinglist@tdeo.fr>
Дата:
Hello,
I would like to know if there's a function that allows to insert values in table using a csv file?
Best regards
Re: Massive Insertion
От:
Thom Brown <thombrown@gmail.com>
Дата:
2009/12/10 Florent THOMAS <mailinglist@tdeo.fr>
Hello,
I would like to know if there's a function that allows to insert values in table using a csv file?
Best regards
You can use the COPY command for that: http://www.postgresql.org/docs/8.4/interactive/sql-copy.html
Regards
Thom
Re: Massive Insertion
От:
Guillaume Lelarge <guillaume@lelarge.info>
Дата:
Le jeudi 10 décembre 2009 à 10:54:37, Florent THOMAS a écrit : > Hello, > > I would like to know if there's a function that allows to insert values > in table using a csv file? > Not in pgAdmin. But you can use the COPY statement or pgloader. -- Guillaume.http://www.postgresqlfr.orghttp://dalibo.com
Re: Massive Insertion
От:
Florent THOMAS <mailinglist@tdeo.fr>
Дата:
Thanks a lot for all your fast answers.
It's exactly what I was looking for.
best regards
Le jeudi 10 décembre 2009 à 11:06 +0100, Patrick Rodies a écrit :
http://www.postgresql.org/docs/8.1/static/sql-copy.html
2009/12/10 Florent THOMAS <mailinglist@tdeo.fr>
Hello,
I would like to know if there's a function that allows to insert values in table using a csv file?
Best regards
--
Mange hilsener / Best regards
--------------------------------------------------------------------------------------------
Patrick Rodies | Technical manager
email: pr@previewnetworks.com | mobile: +45 31 26 49 76 | phone: +45 70 27 87 77
Preview Networks Ltd. | Njalsgade 21F, 1st floor | DK-2300 Copenhagen S
For info: www.previewnetworks.com | For fun! www.filmtrailer.com
Linking high-quality entertainment content to a wide variety of selected online
media in a simple and time-efficient manner. Enabling content owners and web
editors to focus on their core competencies and developing their business.
--------------------------------------------------------------------------------------------
Massive Insertion BIS
От:
Florent THOMAS <mailinglist@tdeo.fr>
Дата:
Dear everyone,
Thank you for the information about "copy into".
I would like to if it is possible to catch the result of this command in a record or in a cursor?
Best regards
Le jeudi 10 décembre 2009 à 11:19 +0100, Patrick Rodies a écrit :
Pas de problem Florent.
Patrick
2009/12/10 Florent THOMAS <mailinglist@tdeo.fr>
Thanks a lot for all your fast answers.
It's exactly what I was looking for.
best regards
Le jeudi 10 décembre 2009 à 11:06 +0100, Patrick Rodies a écrit :http://www.postgresql.org/docs/8.1/static/sql-copy.html
2009/12/10 Florent THOMAS <mailinglist@tdeo.fr>Hello,
I would like to know if there's a function that allows to insert values in table using a csv file?
Best regards
--
Mange hilsener / Best regards
--------------------------------------------------------------------------------------------
Patrick Rodies | Technical manager
email: pr@previewnetworks.com | mobile: +45 31 26 49 76 | phone: +45 70 27 87 77
Preview Networks Ltd. | Njalsgade 21F, 1st floor | DK-2300 Copenhagen S
For info: www.previewnetworks.com | For fun! www.filmtrailer.com
Linking high-quality entertainment content to a wide variety of selected online
media in a simple and time-efficient manner. Enabling content owners and web
editors to focus on their core competencies and developing their business.
--------------------------------------------------------------------------------------------
--
Mange hilsener / Best regards
--------------------------------------------------------------------------------------------
Patrick Rodies | Technical manager
email: pr@previewnetworks.com | mobile: +45 31 26 49 76 | phone: +45 70 27 87 77
Preview Networks Ltd. | Njalsgade 21F, 1st floor | DK-2300 Copenhagen S
For info: www.previewnetworks.com | For fun! www.filmtrailer.com
Linking high-quality entertainment content to a wide variety of selected online
media in a simple and time-efficient manner. Enabling content owners and web
editors to focus on their core competencies and developing their business.
--------------------------------------------------------------------------------------------