преобразовать столбец Varchar в int в SQL Server
SELECT TRY_CONVERT(int, '32')
--if there will be a word instade 32 the answer will be NULL
Info Important
SELECT TRY_CONVERT(int, '32')
--if there will be a word instade 32 the answer will be NULL