Simple Question from an idiot . .

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • warthogweb
    New Member
    • Jul 2006
    • 7

    Simple Question from an idiot . .

    I want to replace one string in a column - for example, a whole lot of 'catsanddogs' with 'Cats and Dogs'. The tablename is 'berg' and the field name is 'type'.

    Thanks,
    Martin
  • Banfa
    Recognized Expert Expert
    • Feb 2006
    • 9067

    #2
    Try

    UPDATE berg SET type="'Cats and Dogs" WHERE type="catsanddo gs";

    backup your data first.

    Comment

    • warthogweb
      New Member
      • Jul 2006
      • 7

      #3
      Brilliant - to the point & perfect! Thanks so much!
      Martin

      Comment

      Working...