xp_sqlmaint -CkDB SET options error
From: Mark (nospam_mytrash9_at_bellsouth.net)
Date: 07/18/04
- Next message: string or binary data would be truncated: "string or binary data would be truncated"
- Previous message: Andrew J. Kelly: "Re: DBCC DBREINDEX and FillFactor"
- Next in thread: Satya SKJ: "Re: xp_sqlmaint -CkDB SET options error"
- Maybe reply: Satya SKJ: "Re: xp_sqlmaint -CkDB SET options error"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 18 Jul 2004 04:05:41 GMT
When I run xp_sqlmaint '-S "TESTSERVER" -D CB_QI_Test -CkDB' against one of our
databases, it returns a "SET options have incorrect settings" error message. If
I run "DBCC CHECKDB(CB_QI_Test)" against the same database from QA, it completes
without any errors. I can run xp_sqlmaint -CkDB against other databases without
receiving the above error. Anyone have an idea as to how to correct this
problem.
Here's the code and the output:
EXEC xp_sqlmaint '-S "TESTSERVER" -D CB_QI_Test -CkDB'
output
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NULL
Microsoft (R) SQLMaint Utility (Unicode), Version 8.00.760
Copyright (C) Microsoft Corporation, 1995 - 1998
NULL
Logged on to SQL Server 'TESTSERVER'
as 'HOME\DBA' (trusted)
NULL
Starting maintenance of database 'CB_QI_Test' on 7/18/2004 12:00:11 AM
NULL
[1] Database CB_QI_Test: Check Data and Index Linkage...
NULL
[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, ARITHABORT'.
NULL
NULL
The following errors were found:
NULL
[Microsoft][ODBC SQL Server Driver][SQL Server]DBCC failed because the following
SET options have incorrect settings: 'QUOTED_IDENTIFIER, ARITHABORT'.
NULL
** Execution Time: 0 hrs, 0 mins, 1 secs **
NULL
NULL
End of maintenance for database 'CB_QI_Test' on 7/18/2004 12:00:11 AM
NULL
SQLMAINT.EXE Process Exit Code: 1 (Failed)
NULL
(25 row(s) affected)
Server: Msg 22029, Level 16, State 1, Line 0
sqlmaint.exe failed.
Thanks,
Mark
- Next message: string or binary data would be truncated: "string or binary data would be truncated"
- Previous message: Andrew J. Kelly: "Re: DBCC DBREINDEX and FillFactor"
- Next in thread: Satya SKJ: "Re: xp_sqlmaint -CkDB SET options error"
- Maybe reply: Satya SKJ: "Re: xp_sqlmaint -CkDB SET options error"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|