Viewing 7 posts - 1 through 7 (of 7 total)
ISNUMERIC() checks whether the input is valid numeric data, that also includes money data type, thats why it used to return 1 for isnumeric('0,.0') cause its a valid money type....
August 11, 2009 at 1:13 am
Hiiiiiii
u can use the below one...
select (case when CurrencyOld is NULL then CurrencyNew else CurrencyOld end) Currency,
(case when BalanceOld is NULL then BalanceNew else BalanceOld end) Balance from URTable
June 22, 2009 at 6:11 am
You can use order by clause with top in select like
select top(2) * from Table order by Id
June 18, 2009 at 1:55 am
Thanks Carrisa
Really a good logic(Short and sweet).
June 13, 2009 at 12:56 am
Thanks a lot simsr it worked perfectly for me...
June 12, 2009 at 8:26 am
Thanks Steve for ur quick response, but whether there is any way to do that work with Group by clause instead of Union?
June 5, 2009 at 7:48 am
Viewing 7 posts - 1 through 7 (of 7 total)