Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Replace html tags

$
0
0

We inherited a SQL Server database and one of the tables has a nvarchar(4000) column that contains some html markup tags (see example below)

<ol type="1">
Enter the following data:
<li>Client's first and last name (middle name optional).
<li>Date of birth in mm/dd/yyyy format.
<li>Gender (required).
<li>Date of ketogenic diet initiation (optional).
<li>Date that diet is discontinued (optional).
<li>Check the "diet discontiued" box when diet is ended.
<li>Enter the client's e-mail address (optional).
</ol>

I would like to just replace the <ol> tags with a number or something but not sure how to do that. Any ideas?  Thanks.


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>