From: Clemens Ladisch <clemens@ladisch.de>
To: pgsql-odbc@lists.postgresql.org
Subject: Re: fn TIMESTAMPADD
Date: Thu, 12 Mar 2020 16:55:41 +0100
Message-ID: <78528ee7-e623-4b1a-22f2-ced3c0802aa4@ladisch.de> (raw)
In-Reply-To: <bbadd5bec4d14563a75917c6665a8fdf@exch01.idewe.be>
References: <bbadd5bec4d14563a75917c6665a8fdf@exch01.idewe.be>
Matthias Coene wrote:
> I seem to have a problem with the TIMESTAMPADD function:
>
> {fn TimestampAdd(SQL_TSI_YEAR, 18, T54148.GEBOREN)} as c2
>
> [nQSError: 16001] ODBC error state: 42703 code: 1 message: *ERROR: column "sql_tsi_year" does not exist;*
psqlODBC supports neither the TIMESTAMPADD function nor the SQL_TSI_YEAR
keyword, and it correctly reports this lack of support through the
SQLGetInfo function.
Apparently, Oracle BI does not check whether this is supported.
(But it wouldn't be easy for it to work around this even if it checked.)
Regards,
Clemens
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: clemens@ladisch.de
Subject: Re: fn TIMESTAMPADD
In-Reply-To: <78528ee7-e623-4b1a-22f2-ced3c0802aa4@ladisch.de>
References: <bbadd5bec4d14563a75917c6665a8fdf@exch01.idewe.be> <78528ee7-e623-4b1a-22f2-ced3c0802aa4@ladisch.de>
* 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