February 4, 2010 at 10:18 pm
I still don't get how there can be multiple clustered indexes on the same table in DB2. Once the data is physically sorted based on one column, the other indexes are simply going point to that location.
August 13, 2010 at 1:37 am
For Clustered Index,Data and index are stored in same place.ie., it stores logically with the table data.So that we have only one clustered index for a table.An index may compriese more than one column which is known as Composite Index.
For Non-Clustered Index , Data and Index are stored in different place.Here we can have 249 Non Clustered (2005) and 999 Non clustered(2008)for a single table
:discuss:[font="Comic Sans MS"]Vinu....
I’ll always be the first casualty of your database failure.[/font]
August 13, 2010 at 4:19 am
Please note: 2-year old thread.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
April 10, 2012 at 4:09 am
Because we can have only one Primary key in a table
Viewing 4 posts - 31 through 33 (of 33 total)
You must be logged in to reply to this topic. Login to reply