从查询中删除特定文本(HTML)

时间:2019-06-26 15:33:56

标签: html sql

我正在运行查询,并且其中一个字段返回了html,特别是

&标记。我理想上会爱他们被删除。 注意:标签不仅位于结果的开头和结尾

SELECT distinct
Id, 
name, 
Date,
Note
FROM Activity

“注释”列中的结果:

1<p>Test</p> 
2<p>Follow up to email </p> 
3<p>Good Morning Liz,</p>  <p> </p>  <p>I hope you’re well.</p>  <p> </p>  <p>I have just got out of meeting with my sales director and he has given some great fantastic offers for new clients.</p>  <p>Kindest Regards</p> 
4<p>Follow up</p>

0 个答案:

没有答案