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

Thread: Problem with insert statement

  1. #1
    Join Date
    Jan 2002
    Posts
    50

    Problem with insert statement

    Hi,

    I would like to insert a string having ' charactor.
    I am getting problem because of this
    can any body help me ....
    its verry urgent....

    Thanks

    Regards
    Bhushan

  2. #2
    Join Date
    Nov 2000
    Location
    Pittsburgh, PA
    Posts
    4,166
    When you are using ' on purpose, I think that you are asking for problems. Why don't you use " or ` instead?

  3. #3
    Join Date
    Nov 2002
    Location
    Geneva Switzerland
    Posts
    3,142
    The single quote must be entered twice inside a quoted string:
    Insert . . . Values('O''Neal', . . . . .)

  4. #4
    Join Date
    Feb 2004
    Posts
    77
    I would recommend using a bind variable in the insert statement. and that bnd variable can contain any value.

  5. #5
    Join Date
    Jan 2002
    Posts
    50
    thanks everybody........

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