고유 테이블 계산에 실패했습니다.

Microsoft.SQLServer.2008.Unique_table_computation_failed_1_5_Rule (Rule)

Knowledge Base article:

요약

고유 테이블은 SQL Server용 Microsoft Access 드라이버와 같은 데이터베이스 클라이언트 드라이버에서 업데이트 가능 쿼리를 작성하는 데 사용됩니다. 지정된 SELECT 문에서 고유 테이블은 해당 행 값이 결과 집합에서 한 번 이하로 나타나는 테이블을 식별합니다. 결과 집합에서 행을 다시 선택한 경우 고유 테이블의 키 열 값으로 행을 충분히 식별할 수 있습니다. 이 오류는 서버가 고유 테이블을 계산할 수 없을 때 발생합니다.

원인

이 오류는 SELECT 쿼리에 UNION, GROUP BY, ROLL UP 또는 기타 집계가 포함되어 있을 때 발생할 수 있습니다. 이러한 경우에는 고유 테이블이 정의되지 않습니다.

해결 방법

고유 테이블 계산을 방해하는 생성자를 피하도록 쿼리를 다시 작성하십시오. 대부분의 오류 시나리오에서는 업데이트 가능 결과 집합을 구현할 수 없습니다.

Element properties:

TargetMicrosoft.SQLServer.2008.DBEngine
CategoryEventCollection
EnabledTrue
Event_ID16959
Event Source$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$
Alert GenerateTrue
Alert SeverityError
Alert PriorityNormal
RemotableTrue
Alert Message
고유 테이블 계산에 실패했습니다.
{0}
Event LogApplication
CommentMom2008ID='{E8827C4D-1683-4BC1-915A-32FB2D21441B}';MOM2008GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}

Member Modules:

ID Module Type TypeId RunAs 
_F6DA1507_12AF_11D3_AB21_00A0C98620CE_ DataSource Microsoft.Windows.EventProvider Microsoft.SQLServer.SQLDefaultAccount
GenerateAlert WriteAction System.Health.GenerateAlert Default

Source Code:

<Rule ID="Microsoft.SQLServer.2008.Unique_table_computation_failed_1_5_Rule" Target="SQL2008Core!Microsoft.SQLServer.2008.DBEngine" Enabled="true" ConfirmDelivery="true" Remotable="true" Comment="Mom2008ID='{E8827C4D-1683-4BC1-915A-32FB2D21441B}';MOM2008GroupID={467ECC75-C5DA-42BD-955C-A73BBB51AF74}">
<Category>EventCollection</Category>
<DataSources>
<DataSource ID="_F6DA1507_12AF_11D3_AB21_00A0C98620CE_" Comment="{F6DA1507-12AF-11D3-AB21-00A0C98620CE}" TypeID="Windows!Microsoft.Windows.EventProvider" RunAs="SQL!Microsoft.SQLServer.SQLDefaultAccount">
<ComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ComputerName>
<LogName>Application</LogName>
<Expression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>$Target/Property[Type="SQL!Microsoft.SQLServer.DBEngine"]/ServiceName$</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>16959</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</Expression>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="GenerateAlert" TypeID="SystemHealth!System.Health.GenerateAlert">
<Priority>1</Priority>
<Severity>2</Severity>
<AlertMessageId>$MPElement[Name="Microsoft.SQLServer.2008.Unique_table_computation_failed_1_5_Rule.AlertMessage"]$</AlertMessageId>
<AlertParameters>
<AlertParameter1>$Data/EventDescription$</AlertParameter1>
</AlertParameters>
<Suppression>
<SuppressionValue/>
</Suppression>
</WriteAction>
</WriteActions>
</Rule>