Maint Plan Optimization Failing
--here is the scheduled job
SET ARITHABORT ON
SET QUOTED_IDENTIFIER ON
EXECUTE master.dbo.xp_sqlmaint N'-PlanID 307DD5CB-26E7-4982-A075-C4458825A612 -Rpt "D:\Prod SQL Data\MSSQL$PRODUCTION\LOG\User Tables DB Maintenance Plan0.txt" -DelTxtRpt 1WEEKS -WriteHistory -RebldIdx 10 -RmUnusedSpace 50 10 '
--here is the output
[4] Database BACKLOGS: Index Rebuild (leaving 10%% free space)...
Rebuilding indexes for table 'Can_Backlog_Format'
[Microsoft SQL-DMO (ODBC SQLState: 42000)] Error 1934: [Microsoft][ODBC SQL Server Driver][SQL Server]DBCC failed because the following SET options have incorrect settings: 'QUOTED_IDENTIFIER'.
** Execution Time: 0 hrs, 0 mins, 1 secs **
I've tried everything short of writing the optimization script by hand. all the backups etc work perfectly, just the optimizations blows out.
Any help greatly appreciated!
David
|