August 27, 2009 at 2:23 pm
i have a table with a column that has links. ie "http://xyz.com/custom/app1.asp"
i need to modify all records with xyz.com to be
"http://localhost/custom/app1.asp"
how can i do this?
thanks
jim
August 27, 2009 at 2:38 pm
Thank you for your response. How do I update the table with this?
thanks
jim
August 27, 2009 at 3:02 pm
I have found a solution. Thanks for the help.
Jim
August 27, 2009 at 9:14 pm
jim.rasmussen (8/27/2009)
I have found a solution. Thanks for the help.Jim
2 way street here, Jim. Please post the solution you found. 😉
--Jeff Moden
Change is inevitable... Change for the better is not.
August 28, 2009 at 10:35 am
Here is what I came up with..
UPDATE TBLNAME SET COLNAME = REPLACE(COLNAME, 'xyz.com', 'localhost')
WHERE COLNAME LIKE '%xyz.com%'
Jim
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply