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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | 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
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

pdset
Constraint Violating Yak Guru

310 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
52326 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

310 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
52326 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

310 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
52326 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  
 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.07 seconds. Powered By: Snitz Forums 2000