Re: fn TIMESTAMPADD

From: Clemens Ladisch <clemens(at)ladisch(dot)de>
To: pgsql-odbc(at)lists(dot)postgresql(dot)org
Subject: Re: fn TIMESTAMPADD
Date: 2020-03-12 15:55:41
Message-ID: 78528ee7-e623-4b1a-22f2-ced3c0802aa4@ladisch.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-odbc

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

In response to

Browse pgsql-odbc by date

  From Date Subject
Next Message Eder, Dominik 2020-03-16 12:57:05 Error installing latest version
Previous Message Matthias Coene 2020-03-12 15:04:52 fn TIMESTAMPADD