Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
DB Engine
SQL ServerMSDESQL Server CE
Services
Analysis (Data Mining)Analysis (OLAP)DTSIntegration ServicesNotification ServicesReporting Services
Programming
CLRConnectivitySQLXML
Other Technologies
ClusteringEnglish QueryFull-Text SearchReplicationService Broker
General
Data WarehousingPerformanceSecuritySetupSQL Server ToolsOther SQL Server Topics
DirectoryUser Groups
Related Topics
MS AccessOther DB ProductsMS Server Products.NET DevelopmentVB DevelopmentJava DevelopmentMore Topics ...

SQL Server Forum / DB Engine / SQL Server / July 2008

Tip: Looking for answers? Try searching our database.

Offline Databases in SQL 2005 Maintenance Plan

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steven - 15 Jul 2008 14:04 GMT
When doing an integrity Check, I choose All databases.  However, it ends up
erroring out because one of the databases is offline.  I would think that
since it's offline, it would not try to do an integrity check, but it does.
Am I missing something? or is this expected behavior?  Do I need to just
choose specific databases?  I'd rather not because databases get deleted and
added all the time.

Thanks
Linchi Shea - 15 Jul 2008 14:31 GMT
I don't know if there is a workaround other than explictily identify each
database. If you have a large number of databases, or are adding and dropping
databases from time to time, identifying databases explicitly is a
maintenance head. I found maintenance plans are just not customizable enough,
and have always opted for our own maintenance scripts instead.

Linchi

> When doing an integrity Check, I choose All databases.  However, it ends up
> erroring out because one of the databases is offline.  I would think that
[quoted text clipped - 4 lines]
>
> Thanks
Ola Hallengren - 17 Jul 2008 22:35 GMT
I have a set of maintenance stored procedures that you could use if you like.
They ignore databases that aren't online.
http://blog.ola.hallengren.com/blog/_archives/2008/1/1/3440068.html

Ola Hallengren
http://ola.hallengren.com

> When doing an integrity Check, I choose All databases.  However, it ends up
> erroring out because one of the databases is offline.  I would think that
[quoted text clipped - 4 lines]
>
> Thanks
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.