I have the following SELECT statement to calculate RADIANS and COS.
SELECT
RADIANS
COS
SELECT COS(RADIANS(latitude)) as Lat FROM tbl_geomet
Use try_convert() to find the invalid data:
try_convert()
select latitude from tbl_geometry where try_convert(float, latitude) is null;
try_convert() is available in SQL Server 2012+.