[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-users
Subject:    Re: [EXTERNAL] Re: Microsoft ODBC bug
From:       Dom Latter <freeradius-users () latter ! org>
Date:       2019-06-25 15:20:36
Message-ID: 4c002ebf-e4b2-153b-7ba8-efc213a0a9b3 () latter ! org
[Download RAW message or body]

On 25/06/2019 16:11, Winfield, Alister via Freeradius-Users wrote:
> Last time I saw this kind of behaviour it was down the 'SQL' err
> great decisions on how to assign a type to literals. Normally it can
> use the type of a field in a table to get it right but here.... not
> so much. I suspect the ODBC library might have an API to define what
> that default type is and that is something daft unless otherwise
> told.

If I have understood you correctly:

These are simplified example cases; this first reared its head when
selecting int fields from tables.  By casting the "int" to a "varchar"
I have a work-around but this is not a satisfactory fix.

The other option is I believe using freetds - does anybody have a
comment on the relative merits?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic