Update part of a field in SQL Server

I have a column with fields that containt 10 digit numbers and conditions, such as 'Very Good', or 'Acceptable'. (Field is named Sku). How would I got about updating the field so that I left the 10 digit numbers intact but replaced the words ex. 'Very Good' with 'VG'. I also want to eliminate any spaces between the digits and the words so 0123456789 Very Good would become 0123456789VG. FYI, the 10 digit number always comes first in the field. Thank you.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Daniel WilsonCommented:
update MyTable set SKU = Replace(Replace(SKU, 'Very good', 'VG'), ' VG', 'VG')
bpfsrAuthor Commented:
Thank you. If you don't mind, can you explain the logic just so I get a better understanding, thanks.
Kevin CrossChief Technology OfficerCommented:
What Daniel is showing is updating the field with same value currently in that field but using the REPLACE function to change instance(s) of 'Very good' with 'VG'.  Then in a second replace change ' VG' to 'VG'.

So in terms of your data, it is doing this in the two steps:

1>0123456789 Very Good --> 0123456789 VG
2>0123456789 VG --> 0123456789VG
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

Kevin CrossChief Technology OfficerCommented:
Daniel WilsonCommented:
Thanks for the followup & explanation, Kevin.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Kevin CrossChief Technology OfficerCommented:
Hopefully I did your answer justice. :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server 2005

From novice to tech pro — start learning today.