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 |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2001-08-03 : 10:04:38
|
| Alexander writes "I wonder if you could help me with this wee problem I'm having regarding filtering data in fields of a MS SQL DB.Basically I have a large field of roughly 1000 length, datatype Varchar, this field contains a long string of data and somewhere within that data is a line like this...>qv2<35001>qv3<I want to remove this bit from each field, however the number (35001) is different each time, and sometimes a different length.Previously I would have used a command like REPLACE(FieldName, '>qv2<35001><qv3', '')but as there are over 15000 records this would take a long time to code for each record!Can you think of any other approach?Any help would be much appreciatedI'm using the standard install of MSSQL Server 7, on a Windows 98 machine, and teh database is hosted on a Windows 2000 machine" |
|
|
|
|
|