SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 SQL Server Administration (2008)
 Non Clustered
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pdset
Constraint Violating Yak Guru

296 Posts

Posted - 05/25/2013 :  08:29:59  Show Profile  Reply with Quote
We have a OLAP based Databases running over the years as it built on one clustered and several non-clustered indexes.

Is there anyway I can rebuilt Non-C;lustered?

Please advise.

visakh16
Very Important crosS Applying yaK Herder

India
52249 Posts

Posted - 05/25/2013 :  09:38:14  Show Profile  Reply with Quote
you mean rebuilt all in one go?

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

pdset
Constraint Violating Yak Guru

296 Posts

Posted - 06/20/2013 :  00:53:58  Show Profile  Reply with Quote
Sorry for the late communication. As identified with the most of the non-clustered indexes which have to be rebuilt either in one go or one by one based on the system strength.

Any idea this is ok?
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52249 Posts

Posted - 06/20/2013 :  01:33:48  Show Profile  Reply with Quote
use ALTER TABLE...REBUILD ALL

http://msdn.microsoft.com/en-us/library/ms188388(v=sql.105).aspx

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page

pdset
Constraint Violating Yak Guru

296 Posts

Posted - 06/20/2013 :  21:40:51  Show Profile  Reply with Quote
Thanks its now done.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

India
52249 Posts

Posted - 06/21/2013 :  02:28:36  Show Profile  Reply with Quote
welcome

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000