Results 1 to 4 of 4

Thread: [RESOLVED] SQL INSERT with apostrophes

Hybrid View

  1. #1
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: [02/03] SQL INSERT with apostrophes

    stringname.replace("'","''")

    Or just use parameterized queries/stored procs.

  2. #2

    Thread Starter
    Member
    Join Date
    Nov 2005
    Posts
    37

    Re: [02/03] SQL INSERT with apostrophes

    thanks I used the replace method for now. I don't know if parameterized queries could apply to what I'm doing, but I'll do more research on them when I'm going over this with a fine tooth comb.

    Thanks again!

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