skip to main
|
skip to sidebar
Nazer Mohamed
Friday, 9 April 2010
SQL XML Modify
Insert / Delete inside XML
Declare @xml xml
SET @xml = '
Test/Test
'
set @xml.modify('insert attribute txt {/Report/text()} into (/Report/Folder)[1]')
set @xml.modify('delete /Report/text()')
select @xml
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Topics
C#
Html
Performance
Social
SQL
SSIS
VOIP
About Me
Unknown
View my complete profile
Hit Counter
Achievements
No comments:
Post a Comment