Re: timestamp parse error
От | Henshall, Stuart - WCP |
---|---|
Тема | Re: timestamp parse error |
Дата | |
Msg-id | E2870D8CE1CCD311BAF50008C71EDE8E01F747A7@MAIL_EXCHANGE обсуждение исходный текст |
Ответ на | timestamp parse error ("Samuele Brignoli" <samuele.brignoli@darpha.com>) |
Ответы |
R: timestamp parse error
|
Список | pgadmin-support |
It doesn't know this is a timestamp so I guess it sees 00 and tries to read as a number. to get it to work try putting it in appostraphes. This should make it of type text. If this isn;t automatically cast then us the following (assuming its a timestamp): CAST ('2001-12-04 00:00:00.0' AS timestamp) - Stuart > -----Original Message----- > From: Samuele Brignoli [mailto:samuele.brignoli@darpha.com] > Sent: 25 January 2002 10:50 > To: pgadmin-support@postgresql.org > Subject: [pgadmin-support] timestamp parse error > > > I'm trying to execute this : > > insert into > ahepatch(cpccchk,ptcodrel,ptdatins,ptdescri,ptnumpat,ptreleas) > values ('kfdujcqkgp','1.02-A0001',2001-12-04 00:00:00.0,'Aggiornamento > EURO-KIT',1,'1.2'); > > I obtain an error :"Parse error near or at "00". > > What is the problem ? The form 00:00:00.0 is contemplated ... > or not ?! > > --kako > > > ---------------------------(end of > broadcast)--------------------------- > TIP 3: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that your > message can get through to the mailing list cleanly >
В списке pgadmin-support по дате отправления: