pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Samuele Brignoli <samuele.brignoli@darpha.com>
To: pgsql-bugs@postgresql.org
Subject: odbc error
Date: Fri, 18 Jan 2002 12:45:19 +0100
Message-ID: <CNEDLAJNHCDEGDBGOHHCMEJECJAA.samuele.brignoli@darpha.com> (raw)

When trying to execute this :

select select DOC_MAST.MVNUMREG,DOC_MAST.MVDATREG  from TESTDOC_MAST
DOC_MAST where DOC_MAST.MVNUMDOC = 57 AND DOC_MAST.MVSERIAL <> '0000000343'
AND DOC_MAST.MVALFDOC = '  ' AND EXTRACT(YEAR FROM DOC_MAST.MVDATDOC) =
EXTRACT(YEAR FROM {d '2001-11-26'}) AND DOC_MAST.MVPRD = 'DV' AND
DOC_MAST.MVANNDOC = '2001'

with psqlodbc 7.01.00.09, it sends me an error 'cause the type casting {d
'2001-11-26'} doesn't work.





view thread (15+ messages)  latest in thread

Message-ID: <CNEDLAJNHCDEGDBGOHHCMEJECJAA.samuele.brignoli@darpha.com>
Permalink:  ../CNEDLAJNHCDEGDBGOHHCMEJECJAA.samuele.brignoli@darpha.com/
Also on:    postgresql.org/message-id/CNEDLAJNHCDEGDBGOHHCMEJECJAA.samuele.brignoli@darpha.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: samuele.brignoli@darpha.com, pgsql-bugs@postgresql.org
  Subject: Re: odbc error
  In-Reply-To: <CNEDLAJNHCDEGDBGOHHCMEJECJAA.samuele.brignoli@darpha.com>
  References: <CNEDLAJNHCDEGDBGOHHCMEJECJAA.samuele.brignoli@darpha.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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