Viewing 4 posts - 1 through 4 (of 4 total)
CREATE PROCEDURE [dbo].[myProc]
@whereSql nvarchar(256)
AS
EXEC('SELECT [fields] FROM
WHERE ' + @whereSql)
GO
From stackOverflow website. This is what i was looking for. I am sharing this here because...
July 25, 2012 at 9:43 pm
i know i can do the floor() on a decimal number and then store that to a variable and subtract it from the original number
example
@a = 2.75
August 8, 2011 at 8:16 pm
i know i can do the floor() on a decimal number and then store that to a variable and subtract it from the original number
example
@a = 2.75
August 8, 2011 at 8:15 pm
What if i want the other value not the floor value ...........
i mean if its 1234.4321
i want 4321 (values after the decimal place...)?
Cheers,
Chandra
August 8, 2011 at 7:54 pm
Viewing 4 posts - 1 through 4 (of 4 total)