Sqlserver doesn't support parameters on smallint
CORE-1323 Conversion from char to SMALLINT is unsupported