sp_xml_removedocument (Transact-SQL)
SQL Server 2005
Removes the internal representation of the XML document specified by the document handle and invalidates the document handle.
Note: |
|---|
| A parsed document is stored in the internal cache of SQL Server 2005. The MSXML parser (Msxmlsql.dll) uses one-eighth the total memory available for SQL Server. To avoid running out of memory, run sp_xml_removedocument to free up the memory. |
Transact-SQL Syntax Conventions