pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedTimestamp Error
5+ messages / 2 participants
[nested] [flat]
* Timestamp Error
@ 2002-09-24 04:42 Keith Gray <keith@heart.com.au>
2002-09-24 23:55 ` Re: Timestamp Error Hiroshi Inoue <Inoue@tpf.co.jp>
0 siblings, 1 reply; 5+ messages in thread
From: Keith Gray @ 2002-09-24 04:42 UTC (permalink / raw)
To: pgsql-odbc
We have moved from 7.1 to 7.2 and get the following error when
extracting dates.
Bad timestamp external representation ' '
eg. INSERT INTO mytable VALUES('1', '2001-09-24')
--
Keith Gray
Technical Services Manager
Heart Consulting Services
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Timestamp Error
2002-09-24 04:42 Timestamp Error Keith Gray <keith@heart.com.au>
@ 2002-09-24 23:55 ` Hiroshi Inoue <Inoue@tpf.co.jp>
2002-09-25 00:52 ` Re: Timestamp Error Keith Gray <keith@heart.com.au>
2002-09-26 00:54 ` Re: Timestamp Error Keith Gray <keith@heart.com.au>
0 siblings, 2 replies; 5+ messages in thread
From: Hiroshi Inoue @ 2002-09-24 23:55 UTC (permalink / raw)
To: Keith Gray <keith@heart.com.au>; +Cc: pgsql-odbc
Keith Gray wrote:
>
> We have moved from 7.1 to 7.2 and get the following error when
> extracting dates.
>
> Bad timestamp external representation ' '
>
> eg. INSERT INTO mytable VALUES('1', '2001-09-24')
How do you call the above command concretely ?
For example what kind of software are you using ?
regards,
Hiroshi Inoue
http://w2422.nsk.ne.jp/~inoue/
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Timestamp Error
2002-09-24 04:42 Timestamp Error Keith Gray <keith@heart.com.au>
2002-09-24 23:55 ` Re: Timestamp Error Hiroshi Inoue <Inoue@tpf.co.jp>
@ 2002-09-25 00:52 ` Keith Gray <keith@heart.com.au>
1 sibling, 0 replies; 5+ messages in thread
From: Keith Gray @ 2002-09-25 00:52 UTC (permalink / raw)
To: Hiroshi Inoue <Inoue@tpf.co.jp>; +Cc: pgsql-odbc
Hiroshi Inoue wrote:
>>We have moved from 7.1 to 7.2
>>
>>Bad timestamp external representation ' '
>>
>>eg. INSERT INTO mytable VALUES('1', '2001-09-24')
> How do you call the above command concretely ?
> For example what kind of software are you using ?
Hi Hiroshi,
We are using VB6 ADO, but have also tested it
with ipgsql.
It may be a PG-7.2 issue rather than ODBC.
--
Keith Gray
Technical Services Manager
Heart Consulting Services
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: Timestamp Error
2002-09-24 04:42 Timestamp Error Keith Gray <keith@heart.com.au>
2002-09-24 23:55 ` Re: Timestamp Error Hiroshi Inoue <Inoue@tpf.co.jp>
@ 2002-09-26 00:54 ` Keith Gray <keith@heart.com.au>
1 sibling, 0 replies; 5+ messages in thread
From: Keith Gray @ 2002-09-26 00:54 UTC (permalink / raw)
To: Hiroshi Inoue <Inoue@tpf.co.jp>; +Cc: pgsql-odbc
Hiroshi Inoue wrote:
>>We have moved from 7.1 to 7.2
>>Bad timestamp external representation ' '
VB6 ADO
ThisValue is a string like '2001-03-30' (*note non-US)
------------------------------------------------------------------
Select Case fldField.Type
Case adDate, adDBDate, adDBTime, adDBTimeStamp
If IsDate(ThisValue) Then
fldField.Value = CDate(ThisValue)
End If
------------------------------------------------------------------
The above was working with 7.1
Sorry, ipgsql works OK.
Have tested with pgAdmin2 no problems, but doesn't
show time portion of datetime (timestamp)
--
Keith Gray
Technical Services Manager
Heart Consulting Services
^ permalink raw reply [nested|flat] 5+ messages in thread
* Timestamp Error
@ 2002-09-25 00:42 Keith Gray <keith@heart.com.au>
0 siblings, 0 replies; 5+ messages in thread
From: Keith Gray @ 2002-09-25 00:42 UTC (permalink / raw)
To: pgsql-odbc
We have moved from 7.1 to 7.2 and get the following error when
extracting dates.
Bad timestamp external representation ' '
eg. INSERT INTO mytable VALUES('1', '2001-09-24')
--
Keith Gray
Technical Services Manager
Heart Consulting Services
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2002-09-26 00:54 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-09-24 04:42 Timestamp Error Keith Gray <keith@heart.com.au>
2002-09-24 23:55 ` Hiroshi Inoue <Inoue@tpf.co.jp>
2002-09-25 00:52 ` Keith Gray <keith@heart.com.au>
2002-09-26 00:54 ` Keith Gray <keith@heart.com.au>
2002-09-25 00:42 Timestamp Error Keith Gray <keith@heart.com.au>
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