FIX: Update Queries with OpenXML Table Aliases Cause Access Violation (292454)
The information in this article applies to:
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q292454
BUG #: 236072 (SHILOH_BUGS)
SYMPTOMS
An access violation (EXCEPTION_ACCESS_VIOLATION) is caused when UPDATE .... FROM OPENXML type of queries are used with an alias. For example, a query with syntax similar to the following causes the access violation to occur:
UPDATE table_name SET column = values
FROM OPENXML(...) range, table1 alias1 ...
RESOLUTIONTo resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the
Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack
WORKAROUND
If the alias name is removed from the UPDATE... FROM OPENXML query, the access violation no longer occurs.
STATUSMicrosoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.
Modification Type: | Major | Last Reviewed: | 11/6/2003 |
---|
Keywords: | kbBug kbfix kbSQLServ2000sp1fix KB292454 |
---|
|