How do I append / merge additional XML into an existing XML field in SQL Server 2005 -
I have a column in SQL Server 2005 that stores a simple part of the XML later on point processing. And I need to merge some processing information into XML.
While I can do this at the intermediate point, I love to keep this method centered within the stored procedure, after processing it is responsible for updating other fields.
Am I starting with XML and the kind of results I want to achieve, can someone give me some roughly sql to get it?
Update: Finally found!
Everything is over! Finally, I have a reality that someone else expects it to be useful
Two additional requirements that I needed to work on the suggested solution of Mark again and By the way, the dump of the .modify () function; However, I have to go through my initial obstacles and I find where I can step back and find out the easy approach. !
How about:
Set up your tab (Your XML Update column). Process ('insert and lieutenant; processing data id = "grid" some etreb = "x" /> gt; [/] finally / some data [1]') where .......< / Pre>should do it.
For more information about how to deal with SQL Server 2005 and above, I am going back to really show exactly how to insert, modify and delete XML pieces inside Using your SQL Server field, XML DML statements.
Mark
Comments
Post a Comment