Viewing 7 posts - 1 through 7 (of 7 total)
Hi,
Try using numeric datatype.
As-
select ID,
ROUND(convert(numeric(18,1),id),1)
from test01
Good Luck
September 2, 2009 at 4:24 am
Hi,
Try this, please remember to cast your parameter.
select * from tablename
where monthColumnName = case when @month='' then monthColumnName else @month end
AND
yearColumnName = case when @year='' then yearColumnName else @year...
May 28, 2009 at 4:09 am
Hi,
You can use Filter option so you dont have to too much scroll up and down.
May 21, 2009 at 3:26 am
Hi,
text datatype can have maximum length of 8000.
I think you should break your dynamic query into 2-3 parts.
May 6, 2009 at 5:37 am
Hi,
Try this,
DECLARE @CountGroup INT
SELECT @CountGroup = Count(Distinct GroupID) FROM reminder
SELECT TOP (@CountGroup) id, groupid, MIN(days_remaining) FROM reminder
GROUP BY groupid, id
May 4, 2009 at 3:52 am
Viewing 7 posts - 1 through 7 (of 7 total)