Viewing 3 posts - 1 through 3 (of 3 total)
Sorry...
that's mean.. i didn't attention on the question
August 4, 2016 at 7:08 am
#1893759
It will work as per required result and give the following result.
1
0
-1
NULL
August 3, 2016 at 1:04 am
#1893409
It will also work if you write your query like below
SELECT val FROM @table ORDER BY val desc
August 2, 2016 at 2:58 am
#1893157