Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I would like to run a query that updates a field's value with whatever is already there but with an "n" appended in the end. For example say there's a field called AccountNumber and for a certain record AccountNumber = "IP1234", I want it to be updated to "IP1234n".

I imagine the query to be something like

UPDATE (Accounts.AccountNumber) = ([Accounts.AccountNumber] & "n") WHERE Accounts.AppendNumber = TRUE;

but with the correct syntax.

Thanks in advance

share|improve this question

1 Answer 1

up vote 2 down vote accepted
Update Accounts set AccountNumber=AccountNumber+'n' 
where Accounts.AppendNumber = TRUE;
share|improve this answer
1  
thank you, that solved it –  harryg Jan 16 '13 at 15:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.