Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Can we create clustered and non-clustered index co

Author  Topic 

satish.gorijala
Posting Yak Master

182 Posts

Posted - 2009-05-14 : 03:36:25
Hi, can we crete both clustered & on-clustered index on one column.

I have one table which contains multiple columns. among those columns, for one column which i created non-clustered index. I want to create clustered index on the same column now.

The column contains data like this 1234-567,2345-564,4567-234

Which index is the best for this column. The table doesn't contain primary key column.

G. Satish

webfred
Master Smack Fu Yak Hacker

8781 Posts

Posted - 2009-05-14 : 04:34:16
Sorry but it seems like you are not clear about what is a clustered index.
Why do think it is making sense to have both clustered & non-clustered index on one column


No, you're never too old to Yak'n'Roll if you're too young to die.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-05-14 : 10:37:16
i dont think there's any case under which you want to create both indexes on same column. can i ask what's the purpose of asking this?
Go to Top of Page
   

- Advertisement -