I am selecting a TINYINT
column from MySQL database, it will display properly in MySQL, but when I print the value in the report using SSRS, it will display the value as True
or False
instead of its original value in number. According to this answer, it evaluates the TINYINT
which has value not equal to 0 to true
, false
otherwise, but in this case, I don't want it to be like this.
Since it is unable to convert or cast TINYINT
to INT
in MySQL (reference), is there any simple workaround other than changing the column datatype to INT
?
UPDATE
The column will not have 0 and 1 as value only, it might be any non-zero value which supports by TINYINT
.