Skip to Content.
Sympa Menu

freetds - [freetds] apostrophes in strings

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Rusty Wright <rusty AT socrates.Berkeley.EDU>
  • To: freetds AT lists.ibiblio.org
  • Subject: [freetds] apostrophes in strings
  • Date: Fri, 20 Jun 2003 09:55:25 -0700 (PDT)

Is there a way to "quote" an apostrophe or single quote for MS SQL
when inserting a string with a single quote in it? Or some way to
embed it as part of the string (for example, like url encoding)?

I'm using PHP and Pear. I've tried doubling the single quote, and
preceding it with a backslash; neither way works.

Thanks in advance.




Archive powered by MHonArc 2.6.24.

Top of Page