I need to write this query in sql server:
IF isFloat(@value) = 1 BEGIN PRINT \'this is float number\' END ELSE BEGIN PRINT \'this is integer number\' END
DECLARE @value FLOAT = 1.50 IF CONVERT(int, @value) - @value <> 0 BEGIN PRINT 'this is float number' END ELSE BEGIN PRINT 'this is integer number' END