f***@gmail.com
2015-03-01 17:22:59 UTC
This query works fine in SQL Server 2008 but fails in 2012
SELECT TestID FROM ParameterEntries WHERE ParameterID=239 AND CAST(TextValue AS FLOAT) = 123
in 2012:
Error converting data type varchar to float.
SELECT TestID FROM ParameterEntries WHERE ParameterID=239 AND CAST(TextValue AS FLOAT) = 123
in 2012:
Error converting data type varchar to float.