|
rdouglass -> RE: Sql Query- HELP!! (6/26/2002 14:47:48)
|
A couple of ways maybe. Of course backup your db before doing any of this. 1. <% myNewField=Replace(myField," testweb" ," files" )%> 2. <% myNewField = " http://myweb.com/files" & Right(myField,(Len(myfield)-24)) ' ---24 characters up to the ' /' after ' testweb' .. then you could loop thru the records something like: for i - 1 to numberOfRecords myNewField=Replace(myField," testweb" ," files" ) UPDATE DISTINCTROW myTable SET myField = myNewField WHERE RecordID = RecordID next Of course you' ll have to grab RecordID along the way, but I think you get the idea. Another way would be to use GETROWS but that is probably too complex for this one-time problem. Hope it helps...
|
|
|
|