Обсуждение: Import (.CVS File) to postgreSql
Dear All,
I like to import (.CVS File) to postgreSql.Could anyone help me. May I know, what the requirement.
Herewith I attach an Example of CVS File,Plese tell me how to restore in Postgresql.
Thank you.
Warmest Regards,
Premila Devi Dayalan Ramasamy
Programmer Analyst
MSAP Production Development
AGB Nielsen Media Research
Level 7,Block B,Menara PKNS-PJ,Jalan Yong Shook Lin , 46050 Petaling Jaya , Selangor
( Malaysia )
t: 603-7620 2320
f: 603-7620 2316
Please note:
This email transmission including its attachments, are intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any views or opinions are solely those of the author and do not necessarily represent those of AGB Nielsen Media Research, unless specifically stated. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this email in error, please contact the sender and delete the email transmission immediately.
Dear All,
I like to import (.CVS File) to postgreSql.Could anyone help me. May I know, what the requirement.
COPY command should be your friend in that case --> http://www.postgresql.org/docs/8.3/static/sql-copy.html
Shoaib Mir
http://shoaibmir.wordpress.com/
Dear Sir,
I am really don’t understand Sir. May I have a screenshot on how to make these configuration sir.
The File is in CVS, as I attached before sir.
As I told you before just use the COPY command. You don't need to do any configurations and all.. just use the CSV option with COPY as explained in the manual. Its just like any other SQL statement once you have the database server installed.
Please do not post privately to my email as its always better posting it to the list.
--
Shoaib Mir
http://shoaibmir.wordpress.com/
In response to Premila Devi : > Dear All, > > > > I like to import (.CVS File) to postgreSql.Could anyone help me. May I know, > what the requirement. You can use the COPY-command for that, see the doc. Andreas -- Andreas Kretschmer Kontakt: Heynitz: 035242/47150, D1: 0160/7141639 (mehr: -> Header) GnuPG-ID: 0x3FFF606C, privat 0x7F4584DA http://wwwkeys.de.pgp.net
