DECLARE @Input DECIMAL(10,4);SET @Input = 12345.6789;SELECT FLOOR(@Input) AS [IntegerPart]GO
Login to post response