Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2002
    Location
    Dallas, TX
    Posts
    3

    Question Unanswered: can this be done?

    Are you able to change one word in a field without changing the whole field? I've got lots of records that are St. ???, St. Andrew's, St Jude's, ect. Can I run a query that will change the "St." to "Saint" but not change the rest of the name?

    Thanks for your help.

    Rob

  2. #2
    Join Date
    Feb 2002
    Location
    India
    Posts
    38
    I hope This Code will helps u

    Code:
    Update TableName Set FieldName='Sait'+
    SubString(FieldName,4,len(RName))
    -- Prasad --

  3. #3
    Join Date
    Jan 2002
    Posts
    12
    You can use REPLACE()

    UPDATE TableName Set FieldName = REPLACE (FieldName,'St.','Saint')

    Hope This helps You.
    NivasKhan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •