Searching Names with '

  • I have an ASP page that generates my SQL statement when doing a search on last name. My problem is when searching for names like "O'leary" it fails beacause of the '. Do I have to use a LIKE statement or is there another way to do this?

  • I might simply double it like

    O''leary

  • Thanks Oleg that did it!

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply