pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
IMPORT or ETL tools
2+ messages / 2 participants
[nested] [flat]

* IMPORT or ETL tools
@ 2004-03-11 21:25  Louie Kwan <lkwan@nuvo.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Louie Kwan @ 2004-03-11 21:25 UTC (permalink / raw)
  To: pgsql-admin

Hi All,

Do anyone of you aware of any good PG import tool same as SQL*LOADER in
ORACLE

We are doing some DataWarehouse work and need to import a large set of data
from csv files.

We are trying a import tool from ems-hitech.com, but I have troubles when
loading time and date columns.

Any help is much appreciated.

Thanks
Louie

------ |  Creating NNM_HOST Table
------ |

CREATE TABLE NNM_NODES (
 lastLoadTime_e       DATE,
 domain_name          VARCHAR(10),
 ----
 ovtopo_id            INTEGER   NOT NULL,
 node_type            VARCHAR(10),
 node_name            VARCHAR(30),
 ov_status            VARCHAR(10),
 ipaddress            VARCHAR(15)
);
data.csv
--------
31/01/2004,D1H01,845,IP,dfrQCQCRD1,Normal,142.130.35.1
31/01/2004,D1H01,849,IP,dfrQCIMCP1,Normal,142.130.130.33
31/01/2004,D1H01,853,IP,dfrQCSIBL1,Normal,142.130.130.19




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: IMPORT or ETL tools
@ 2004-03-11 21:37  Greg Spiegelberg <gspiegelberg@cranel.com>
  parent: Louie Kwan <lkwan@nuvo.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Greg Spiegelberg @ 2004-03-11 21:37 UTC (permalink / raw)
  To: Louie Kwan <lkwan@nuvo.com>; +Cc: pgsql-admin

Louie Kwan wrote:
> We are trying a import tool from ems-hitech.com, but I have troubles when
> loading time and date columns.
...

> data.csv
> --------
> 31/01/2004,D1H01,845,IP,dfrQCQCRD1,Normal,142.130.35.1
> 31/01/2004,D1H01,849,IP,dfrQCIMCP1,Normal,142.130.130.33
> 31/01/2004,D1H01,853,IP,dfrQCSIBL1,Normal,142.130.130.19

Before doing your COPY (I'm assuming you're doing a COPY) have you
done a "set datestyle to 'European';"?

-- 
Greg Spiegelberg
  Sr. Product Development Engineer
  Cranel, Incorporated.
  Phone: 614.318.4314
  Fax:   614.431.8388
  Email: gspiegelberg@Cranel.com
Cranel. Technology. Integrity. Focus.





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-03-11 21:37 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-03-11 21:25 IMPORT or ETL tools Louie Kwan <lkwan@nuvo.com>
2004-03-11 21:37 ` Greg Spiegelberg <gspiegelberg@cranel.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox