Received: from spidernet.it (dns.spidernet.it [195.206.0.11]) by postgresql.org (8.11.3/8.11.4) with ESMTP id g0IBeAV10360 for ; Fri, 18 Jan 2002 06:40:11 -0500 (EST) (envelope-from samuele.brignoli@darpha.com) Received: from hantares ([195.206.7.19]) by spidernet.it (8.9.3/8.8.7) with SMTP id MAA13332 for ; Fri, 18 Jan 2002 12:33:50 +0100 Reply-To: From: "Samuele Brignoli" To: Subject: odbc error Date: Fri, 18 Jan 2002 12:45:19 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Importance: Normal X-Archive-Number: 200201/101 X-Sequence-Number: 2961 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.