ColName是ntext格式,里面放一些html代码,我想把中间的段落标记<p>和</p>清除

 
update TestTable set ColName=replace(cast(ColName as varchar(8000)),'<pre>','')
update TestTable set ColName=replace(cast(ColName as varchar(8000)),'</pre>','')

相关文章:

  • 2021-08-12
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-28
猜你喜欢
  • 2022-12-23
  • 2022-02-01
  • 2021-09-01
  • 2021-09-08
  • 2022-12-23
  • 2021-12-16
  • 2021-09-12
相关资源
相似解决方案