MSSQL tinyint: problems with values >127
A Java SQL client for any JDBC compliant database
Brought to you by:
colbell,
gerdwagner
Just posted info on https://sourceforge.net/p/squirrel-sql/bugs/1037/#9a95 for this, then found this message. Driver changed behavior, but neither driver works properly.
Downloaded SquirrelFX snapshot squirrelsqlfx-snapshot-20160821_1917.zip to compare. It is no where near as ready for daily use as the main Squirrel. It shows proper values above 127 with the same drivers.
Confirmed issue still exist in Squirrel 3.8.1
Please install the MySQL-Plugin. This fixed the problem for me.
Some detail:
I used a table created like that
to test.
Gerd
MySQL Plugin is installed. Same Issue.
if i query as
select fldTinyInt from tblValuesValues are returned as
If I query as
select cast(fldTinyInt as int) from tblValues