유지관리 계획의 무결성 검사가
패싯의 서버 구성에서 AllowUpdates가 False로 되어있을 경우 성공을 하는데..
패싯의 서버 구성에서 AllowUpdates가 True로 되어있을 경우 실패를 합니다.
그래서 아래의 명령어로 해주었더니 무결성 검사가 잘되네요..
SP_CONFIGURE 'ALLOW UPDATES', 0
RECONFIGURE WITH OVERRIDE
그렇다면 여기서 질문입니다.
질문1.
패싯 - 서버구성 AllowUpdates는
업데이트 허용 구성 옵션을 사용할 수 있는지 여부를 지정 한다고 하는데 무슨 업데이트 허용 구성 옵션을 얘기하는지...
정확히 감이 오질 않네요(즉 AllowUpdates 가 뭐하는 녀석인지 알고 싶습니다.)
질문2.
그렇다면 AllowUpdate를 True로 할 경우 왜 무결성 검사가 실패하는지 알고 싶습니다.
SQL Server 2008R2 버전입니다.
Comment 1
-
블랙조
2013.08.29 15:42
1 번은 다음과 같습니다.(시스템 테이블에 대해 direct update 의 가능 여부 설정)
Use the allow updates option to specify whether direct updates can be made to system tables.
By default, allow updates is disabled (set to 0) so users cannot update system tables through ad hoc updates.
Users can update system tables using system stored procedures only. When allow updates is disabled,
updates are not allowed, even if you have the appropriate permissions (assigned using the GRANT statement).
When allow updates is enabled (set to 1), any user who has appropriate permissions can update system tables
directly with ad hoc updates and can create stored procedures that update system tables.
Updating fields in system tables can prevent an instance of Microsoft® SQL Server™ from running or
can cause data loss. If you create stored procedures while the allow updates option is enabled, those stored
procedures always have the ability to update system tables even after you disable allow updates.
2번은 다음 url 참조하시면 될 듯 합니다.
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e5c1a1dc-08b8-4716-af17-95d14b4e4d4a/sql-server-2008-maintenance-plan-error-alter-failed-for-server-spconfigure