Skip site navigation (1) Skip section navigation (2)

Re: importing DB2 timestamp?

From: "Patrick Hatcher" <PHatcher(at)macys(dot)com>
To: "Tom Lane <tgl" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org, pgsql-novice-owner(at)postgresql(dot)org
Subject: Re: importing DB2 timestamp?
Date: 2002-11-26 16:42:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
that was it.  thank you!

Patrick Hatcher

                    Tom Lane                                                                                                                       
                    <tgl(at)sss(dot)pgh(dot)pa(dot)us>           To:     "Patrick Hatcher" <PHatcher(at)macys(dot)com>                                                   
                    Sent by:                      cc:     pgsql-novice(at)postgresql(dot)org                                                              
                    pgsql-novice-owner(at)post       Subject:     Re: [NOVICE] importing DB2 timestamp?                                               
                    11/25/2002 07:23 PM                                                                                                            

"Patrick Hatcher" <PHatcher(at)macys(dot)com> writes:
> I'm receiving a flat file dump from a DB2 feed.  In this file, I have a
> number of timestamp fields that appear as such:
> 2002-10-30- Pg doesn't seem to recognize this as a valid
> timestamp.  I've tried converting the timestamp to   2002-10-30-19
> 00:05:224939  and 2002-10-30-19 00:05:22, but it still won't import.

I would think you want '2002-10-30 19:00:05.224939'.

                               regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
message can get through to the mailing list cleanly

pgsql-novice by date

Next:From: Frank LeeDate: 2002-11-26 16:57:06
Subject: BusinessWeek - Postgres mentioned
Previous:From: stev knowlesDate: 2002-11-26 15:34:15
Subject: new behavior

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group