how can I accomplish:
select * from table where column_value is int
I know I can probably inner join to the system tables and type tables b
Why not use the following and test for 1?
DECLARE @TestValue nvarchar(MAX) SET @TestValue = '1.04343234e5' SELECT CASE WHEN ISNUMERIC(@TestValue) = 1 THEN CASE WHEN ROUND(@TestValue,0,1) = @TestValue THEN 1 ELSE 0 END ELSE null END AS Analysis