Something like this?UPDATE Attribute_Data
SET Attribute_Data.AttValue = CAST([AttValue] AS INT)
WHERE ISNUMERIC([AttValue]) = 1 AND FLOOR([AttValue]) = [AttValue]
Most people who work with relational databases such as SQL Server would advise against using entity-attribute type of data storage. So if you have an opportunity to redesign the tables that would be something to keep in mind.