X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 2A8B3D1D1A4 for ; Thu, 11 Mar 2004 21:37:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 73477-02 for ; Thu, 11 Mar 2004 17:37:30 -0400 (AST) Received: from COLSWEEPER.cranel.com (newmail.cranel.com [66.192.200.227]) by svr1.postgresql.org (Postfix) with ESMTP id 17A66D1CCD7 for ; Thu, 11 Mar 2004 17:37:24 -0400 (AST) Received: from colmail01.cranel.com (colmail01.cranel.com) by COLSWEEPER.cranel.com (Content Technologies SMTPRS 4.3.12) with ESMTP id ; Thu, 11 Mar 2004 16:36:44 -0500 Received: from cranel.com (gspiegelberg.cranel.com [192.168.11.134]) by colmail01.cranel.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2657.72) id GRDD7VA2; Thu, 11 Mar 2004 16:41:35 -0500 Message-ID: <4050DC15.2050402@cranel.com> Date: Thu, 11 Mar 2004 16:37:25 -0500 From: Greg Spiegelberg Organization: Cranel, Inc. User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Louie Kwan Cc: pgsql-admin@postgresql.org Subject: Re: IMPORT or ETL tools References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200403/203 X-Sequence-Number: 12772 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.