Viewing 10 posts - 1 through 10 (of 10 total)
Hi,
Just a little bit confused. When create a clustered columnstore index, if all columns will be included, is that the same as rowstore index? What's the benefit?
Thanks
August 7, 2014 at 9:12 pm
For the last one, it's counting NULL. I think that's why it returns 0.
December 18, 2013 at 7:45 pm
Don't think 'nonclustered index' shoud be included in the question.
December 15, 2013 at 9:48 pm
If you have to keep the data this way, maybe can parse the hourse_no, then order by different parts.
SELECT
CAST(SUBSTRING(hourse_no,1,CHARINDEX('-',hourse_no)-1) AS INT),
CAST(SUBSTRING(hourse_no,CHARINDEX('-',hourse_no)+1,2) AS INT),
...
FROM #temp
ORDER BY
CAST(SUBSTRING(hourse_no,1,CHARINDEX('-',hourse_no)-1) AS INT),
CAST(SUBSTRING(hourse_no,CHARINDEX('-',hourse_no)+1,2) AS INT),
...
December 15, 2013 at 7:41 pm
Very good question and good explanation.
December 11, 2013 at 10:58 pm
Viewing 10 posts - 1 through 10 (of 10 total)