DBAsupport.com Forums - Powered by vBulletin
Results 1 to 4 of 4

Thread: Removing a " from a varchar string stored in a table

  1. #1
    Join Date
    Nov 2000
    Location
    London
    Posts
    94

    Question

    any idea how to search for a " in a varchar column and get rid of it?

  2. #2
    Join Date
    Oct 2000
    Posts
    90
    select replace('123"456', '"', '') from dual

  3. #3
    Join Date
    May 2001
    Posts
    31
    replace(column1,'"') (double quote inside single quotes)

    This will eliminate all " inside the string

  4. #4
    Join Date
    Jun 2001
    Location
    Colombo, Sri Lanka
    Posts
    1

    Unhappy

    I personally prefer this method
    replace(column1,Chr(34))

    Ie. Chr(34) stands for "

Posting Permissions

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


Click Here to Expand Forum to Full Width