Hello can somebody answer me this question please!!!
(Please excuse my bad English spelling! I´m native germane…)
I´m pondering over a problem on sql server 7.0 SP4 and 2000. SP3
To maintain a good database performance I like to create database maintenance plans
Through the sql server enterprise manager.
I want the job to run on all databases, I want it to optimise with reorg data and indexes
And check db integrity, indexes included, perform before backup!
Now if I check the job in the sqlserveragent it tells me that integrity and all backup jobs
Failed because the DB´s are not in SINGEL USER mode!!! Ok so I tried to create a job
That runs before the maintenance plan with the ALTER DATABASE statement.
The ALTER DATABASE statement work fine in Query Analyser but fails if I want
To insert the statement in the job under STEPS.
So now I’m quite stuck?!!?!! But why can I create a Maintenance Plan with those
Settings if doesn’t run with the default settings taken during set up, what is my mistake?
Maybe because the recovery models are diffent???
Thx Andi
(Please excuse my bad English spelling! I´m native germane…)
I´m pondering over a problem on sql server 7.0 SP4 and 2000. SP3
To maintain a good database performance I like to create database maintenance plans
Through the sql server enterprise manager.
I want the job to run on all databases, I want it to optimise with reorg data and indexes
And check db integrity, indexes included, perform before backup!
Now if I check the job in the sqlserveragent it tells me that integrity and all backup jobs
Failed because the DB´s are not in SINGEL USER mode!!! Ok so I tried to create a job
That runs before the maintenance plan with the ALTER DATABASE statement.
The ALTER DATABASE statement work fine in Query Analyser but fails if I want
To insert the statement in the job under STEPS.
So now I’m quite stuck?!!?!! But why can I create a Maintenance Plan with those
Settings if doesn’t run with the default settings taken during set up, what is my mistake?
Maybe because the recovery models are diffent???
Thx Andi