Changing number in a field

O

Octet32

I Have a zip code field that has 9 numbes in thefield 12345999 there over a
1000 of these is there a way that I can change just the last number which is
9 to 8 for all the records at one shot?
Thanks
Tom
 
F

fredg

I Have a zip code field that has 9 numbes in thefield 12345999 there over a
1000 of these is there a way that I can change just the last number which is
9 to 8 for all the records at one shot?
Thanks
Tom

Hmmm. I only see 8 numbers.

Any way, back up your data first.
Create an Update query:

Update YourTable Set YourTable.Zip = Left(Zip,8) & "8" Where
Right(Zip,1) = "9";
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top