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 2000 Forums
 SQL Server Administration (2000)
 Maintenance Plan Problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

awojtowicz
Starting Member

USA
3 Posts

Posted - 01/13/2005 :  11:12:41  Show Profile  Reply with Quote
I have a maintenance plan in sql 2000 that gives me errors about not being in single mode. it won't back up any database. i'm not a sql guy but i have to maintain a couple of databases.

thanks

nr
SQLTeam MVY

United Kingdom
12543 Posts

Posted - 01/13/2005 :  12:32:06  Show Profile  Visit nr's Homepage  Reply with Quote
Is that single user mode?
Did you request it to do an integrity check and repair databases?
If so then that's the problem.

Don't use maintenance plans - it's easy to code it yourself and then you know what it is doing.
Here's an sp that will bcak up all databases
http://www.mindsdoor.net/SQLAdmin/BackupAllDatabases.html



==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page

awojtowicz
Starting Member

USA
3 Posts

Posted - 01/13/2005 :  13:23:15  Show Profile  Reply with Quote
Yes single user mode. so i guess i should uncheck the integrity check, huh?
Go to Top of Page

nr
SQLTeam MVY

United Kingdom
12543 Posts

Posted - 01/13/2005 :  13:50:23  Show Profile  Visit nr's Homepage  Reply with Quote
yep.
You can run dbcc checkdb if you want to.


==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
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.06 seconds. Powered By: Snitz Forums 2000