Clustered vs non clustered index

from What is the difference between a Clustered and Non Clustered Index? A clustered index determines the order in which the rows of a table are stored on disk. If a table has a clustered index, then the rows of that table will be stored on disk in the same exact order as the... Continue Reading →

Only one clustered index can be created on table

A clustered index sorts and stores the data rows in the table based on the index key values. Therefore only one clustered index can be created on each table because the data rows themselves can only be sorted in one order. To create a different clustered index on the same table, change the Create as... Continue Reading →

Table Variables Microsoft introduced table variables with SQL Server 2000 as an alternative to using temporary tables. In many cases a table variable can outperform a solution using a temporary table, although we will need to review the strengths and weaknesses of each in this article.Table variables store a set of records, so naturally the declaration... Continue Reading →

Website Powered by

Up ↑

%d bloggers like this: