|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Wednesday, May 08, 2013 3:44 AM
Points: 2,173,
Visits: 1,350
|
|
| Database Design - What are included columns with respect to SQL Server indexing?
|
|
|
|
|
SSC-Dedicated
           
Group: General Forum Members
Last Login: Today @ 4:18 PM
Points: 38,062,
Visits: 30,359
|
|
Test question? Interview question?
Search in Books Online for 'Include columns' you should find several entries.
Gail Shaw Microsoft Certified Master: SQL Server 2008, MVP SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
We walk in the dark places no others will enter We stand on the bridge and no one may pass
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Today @ 6:35 AM
Points: 121,
Visits: 966
|
|
What are included columns with respect to SQL Server indexing? A new type of index was developed in SQL Server 2005 and beyond that assists in situations where a covering index is needed. Indexes with Included Columns are non clustered indexes that have the following benefits: 1. Columns defined in the include statement, called non-key columns, are not counted in the number of columns by the database engine. 2. Columns that previously could not be used in queries, like nvarchar(max), can be included as a non-key column. 3. A maximum of 1023 additional columns can be used as non-key columns.
Kindest Regards,
egpotus DBA
|
|
|
|