View Single Post

   
  #5 (permalink)  
Old 02-29-2008, 07:04 AM
Jens
 
Posts: n/a
Default Re: Indexes and File groups

I´m planning to recreate the clustered index like this:

CREATE
CLUSTERED INDEX [idx-clusteredindex]
ON
[dbo].[TABLE_NAME]([COLOUMN_NANE])
WITH
DROP_EXISTING,
FILLFACTOR = 90
ON
[PRIMARY]

As I understand this will alse cause all non-clustered index
on the table to be rebuilt/recalculated as well.
Is this infact the case of do I have to
do i have to do it explicitly afterwards like:

DBCC DBREINDEX ([dbo].[TABLE_NAME],[idx-nonclustered],90)

johnbandettini@yahoo.co.uk wrote:
> Jens
>
> Yes, rebuilding the clustered index will move the table. You can also
> do it through enterprise manager, using design table, this rebuilds

the
> index for you.
>
> Regards
>
> John


Reply With Quote