select cast('12.31' as tinyint); select cast('12.31' as smallint); select cast('12.31' as int); should return NULL