Viewing 2 posts - 1 through 2 (of 2 total)
Hi Abhijit,
Please try this,
Select CAST(41981 as datetime)
Output
2014-12-10 00:00:00
Thanks,
Srikanth s
August 24, 2015 at 5:48 am
#1821919
Hi Nidhi,
Try this,
Declare @k char(10)
Declare @l as Char(10)
Set @k ='-88'
set @L = '88'
Select IIF( ISNUMERIC(@k) = 1,
Case
When Cast(@k as integer) > 0 then 'Positive'
When Cast(@k...
July 17, 2015 at 5:00 am
#1813221