sql server - update part of an xml node stored as ntext -
i have simple data structure integer primary key , "xml" column stored ntext. how can update specific nodes of xml column stored ntext?
the ntext data type problematic least. marc_s wrote in comments, type deprecated, , if wasn't, it's wrong data type use storing xml data.
the xml data type has been around since @ least 2012 version, , should consider changing database structure use instead of deprecated ntext.
if changing database structure impossible, have select value, try convert usable type (since ntext doesn't supports replace function), manipulate data, , convert ntext , update row.
Comments
Post a Comment