In Access, you can use the replace
function to change some text into some other text: http://office.microsoft.com/en-ca/access-help/replace-function-HA001228898.aspx
Together with a select
statement and the iif
function to choose the exact rows that need the replacement, it's a fairly simple operation:
select
iif(
part_num like '*-xxx'
, replace(part_num, '-xxx', '-###')
, part_num
)
from my_table