Results 1 to 6 of 6

Thread: SQL Select string where search criteria contains a ' character? [RESOLVED FISH]

Threaded View

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    SQL Select string where search criteria contains a ' character? [RESOLVED FISH]

    I have a surname in my DB, which is:

    O'Keafe

    But if I build a search SQL string like:
    Code:
    SELECT * FROM tblUsers Where Surname = 'O'Keafe'
    then this gives an error

    Any ideas?

    Woka

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