Say that you have a table called myTable with several rows and a column called URL that contains the IP address of a log server. Now imagine that you want to change the value of URL so IP address is substituted by the server name. One way to do that is as follows:
use dbname
update myTbl set URL=replace(URL,’172.16.1.10′,’logserver’);
