Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Erland Sommarskog Newsgroups: comp.databases.ms-sqlserver Subject: Re: question on clustered indexes in sql-server Date: Wed, 30 Nov 2011 23:33:43 +0100 Organization: Erland Sommarskog Lines: 21 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Injection-Info: mx04.eternal-september.org; posting-host="nBFDv6s1VJQDuF1w6hpX2A"; logging-data="19534"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19rsyNjaX7BEKQGEdrt+6Lx" User-Agent: Xnews/2006.08.24 Mime-proxy/2.1.c.0 (Win32) Cancel-Lock: sha1:9aGgpFKHEQr/ITlnWXscQvkrh0k= Xref: x330-a1.tempe.blueboxinc.net comp.databases.ms-sqlserver:852 Lennart Jonsson (erik.lennart.jonsson@gmail.com) writes: > If I got it right, the leaf pages in a clustered index in sql-server is > the data pages. Yes, that is exactly essense. > In db2 leaf pages contains a pointer to the data page just like any > other index. So then in DB2, what is the difference between a clustered index and a non-clustered index? -- Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se Links for SQL Server Books Online: SQL 2008: http://msdn.microsoft.com/en-us/sqlserver/cc514207.aspx SQL 2005: http://msdn.microsoft.com/en-us/sqlserver/bb895970.aspx