Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

partial update

Status
Not open for further replies.

gixer

MIS
Joined
Nov 8, 2001
Messages
15
Location
CA
I am trying to update part of an vchaddress1 field. An example is the following:

125 17 av NW

I want to correct the "av" to "Ave" and keep all the rest.

So it should look like:

125 17 Ave NW

Is there anyway I can do this without manually going in and changing each record individually?

Thanks for any help in advance.
 

Use the Replace function.

Update table
Set col=Replace(col, ' av ', 'Ave ') Terry L. Broadbent
FAQ183-874 contains tips for posting questions in these forums.
NOTE: Reference to the FAQ is not directed at any individual.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top