Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2008
    Posts
    55

    Unanswered: Escape Character

    Hello,

    How would I use escape character in this case?
    I replaced the two 's inside the quotes with " and it didnt work.
    Any suggestions?

    UPDATE TB939
    SET COMMENT2 =
    'of Cap1's and Dr. Head's handling of the case.'
    WHERE EID = '0000086807';


    Thank you for any input

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    Double the single quote:
    Code:
    'of Cap1''s and Dr. Head''s handling of the case.'
    Note that what's highlighted are two single quotes, not one double quote.
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Aug 2008
    Posts
    55
    Quote Originally Posted by n_i
    Double the single quote:
    Code:
    'of Cap1''s and Dr. Head''s handling of the case.'
    Note that what's highlighted are two single quotes, not one double quote.
    Thank you n_i

Posting Permissions

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