Results 1 to 3 of 3

Thread: Anyone an expert with SQL?

  1. #1
    Admiral gear02's Avatar
    Join Date
    Apr 2000
    Location
    Seattle, WA
    Posts
    7,223

    Anyone an expert with SQL?

    I have this error where if I try to enter a ' into a search box in this program, I get the following error:

    java.sql.SQLException: ORA-00911: invalid character

    So I'm assuming that the ' is causing it. Are ' not permitted or do you need an escape character?

    Thanks guys and I'm sorry if this is the wrong forum.

  2. #2
    Rear Admiral Upper Half ribitch's Avatar
    Join Date
    Sep 2001
    Location
    Michigan
    Posts
    3,672
    The database sounds liek it hasnt stored the characters with slashes. a ' should be stored as a /' if i recall correctly.

  3. #3
    Lieutenant Commander
    Join Date
    Oct 2001
    Posts
    523
    Try replacing ' by '' or it might also be \'

Bookmarks

Posting Permissions

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