Stairway to XML: Level 8 - Deleting Data from an XML Instance
Posted
on SQL Server Central
See other posts from SQL Server Central
Published on Mon, 05 Nov 2012 07:00:00 UT
Indexed on
2012/11/06
17:14 UTC
Read the original article
Hit count: 428
in order to use the modify() method to delete data from typed and untyped XML instances, you must pass an XML DML expression as an argument to the method. That expression must include the delete keyword, along with an XQuery expression that defines the XML component to be deleted. Robert makes it seem simple, as usual.
The best way to version control T-SQL SSMS plug-in SQL Source Control connects SVN, TFS, Git, Hg and all others to SQL Server. Learn more. |
© SQL Server Central or respective owner