Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 how to update xml column

Author  Topic 

divyaram
Posting Yak Master

180 Posts

Posted - 2009-06-03 : 05:45:32
Im using sql sever 2005
in this i have one table with xml values in a column now i want to update one attribute value of that xml...how i can do that

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2009-06-03 : 12:23:31
you can use modify() method for updating attribute value.see example below

http://www.15seconds.com/issue/050818.htm
Go to Top of Page
   

- Advertisement -