Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Database Design - What are included columns with respect to SQL Server indexing? Expand / Collapse
Author
Message
Posted Wednesday, February 17, 2010 5:50 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Thursday, March 13, 2014 4:10 AM
Points: 2,296, Visits: 1,424
Database Design - What are included columns with respect to SQL Server indexing?
Post #866919
Posted Wednesday, February 17, 2010 6:23 AM


SSC-Forever

SSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-ForeverSSC-Forever

Group: General Forum Members
Last Login: Today @ 6:07 AM
Points: 41,559, Visits: 34,481
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

Post #866963
Posted Tuesday, April 16, 2013 1:32 AM


SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 2:06 AM
Points: 126, Visits: 1,081
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

Post #1442623
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse