Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
darren.stephens
Starting Member
4 Posts |
Posted - 2009-09-21 : 20:40:52
|
| Hii am selecting data from a table which the data is a bit junky because of being copy as test from another system. I have built a view and want to tidy up the following field : description and remove anything between < ><span lang="EN-AU"><p>The printer that is on my desk at Royal Park is emitting some sort of </p><p>vapour when printing - it is clearly visible to the unaided eye.</p><p>Is this normal or is it some indication of a problem ?</p><p>Cheers</p><p>Martin George</p><p>x3714</p><p>0437-688824</p></span> |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2009-09-22 : 03:42:29
|
How do you want the result to be presented? As a long string, or every "p" element on it's own row? N 56°04'39.26"E 12°55'05.63" |
 |
|
|
darren.stephens
Starting Member
4 Posts |
Posted - 2009-09-23 : 00:17:07
|
| i want to keep as 1 string but just replace </p> or <p> with space |
 |
|
|
nirene
Yak Posting Veteran
98 Posts |
Posted - 2009-09-23 : 00:23:54
|
| Is this you wantSELECT REPLACE(Description,'<P>','') from Table |
 |
|
|
|
|
|