Guest User

Untitled

a guest
Jun 18th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. select 'my chars'
  2.  
  3. declare @x xml
  4. set @x = N'<tag>abc</tag>'
  5. set @x.modify (N'replace value of (/tag/text())[1] with "我"')
  6. select @x
  7.  
  8. update yourtable
  9. set yourvalue = N'your chinese characters'
  10. where id = yourid
Add Comment
Please, Sign In to add comment