Auto Replace Text in a table

5 pts.
Tags:
IIF statement
tables
Is there a statement I can add that will automatically replace a text string with another string? EX> NORTH CHANGE TO BILLY BOB THROUGH OUT A FIELD

Software/Hardware used:
MICROSOFT ACCESS 2003

Answer Wiki

Thanks. We'll let you know when a new response is added.

That would be the Replace Function.

If you want to use it in a SQL UPDATE command, it would be something like this:

UPDATE your_table
SET your_field = REPLACE(your_field,"NORTH","BILLY BOB")
WHERE <conditions>

—————–

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • AshishSingh10
    Hi,

    Is this auto - replacing related to created of trigger?

    Thanks and regards
    Ashish@S
    875 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following