Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2003
    Posts
    176

    Unanswered: Replacing / with space

    Hi,

    I have a column with the following data.

    A/B
    X Y
    Z
    X/Y A/D

    I want to replace the /with space so that I have the output-

    A B
    X Y
    Z
    X Y A D

    Can I do that? Please let me know what SQL query will help.

    Thanks

  2. #2
    Join Date
    Sep 2003
    Location
    Dallas, Texas
    Posts
    311

    Re: Replacing / with space

    replace(column_name, '/', ' ')

  3. #3
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Or SHIFT-F1 will do the trick...

  4. #4
    Join Date
    Sep 2003
    Posts
    176

    Re: Replacing / with space

    Thanks a lot. Works.
    Originally posted by joejcheng
    replace(column_name, '/', ' ')

  5. #5
    Join Date
    Jul 2003
    Location
    The Dark Planet
    Posts
    1,401
    No takers for your advice .. blindman

    btw .. i tried shift + f1 .. but it didnt replace the / with ' '
    Get yourself a copy of the The Holy Book

    order has no physical Brett in The meaning of a Kaiser . -database data

Posting Permissions

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