Microsoft ODBC bug

Dom Latter freeradius-users at latter.org
Tue Jul 2 12:18:42 CEST 2019


On 02/07/2019 10:46, Dom Latter wrote:
> 
> I found / modified a small python script as below; again, no
> problem with "large" integers...

And again, with PHP, "SELECT 123456789" works fine but a large
number gets an error from the ODBC driver.


SQLSTATE: 22003
Code: 1007
Message: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The
number '1000430295872340598237059823475034928750239875023948572309485' 
is out of the range for numeric representation (maximum precision
38).





More information about the Freeradius-Users mailing list