[freetds] apostrophes in strings

Rusty Wright rusty at socrates.Berkeley.EDU
Fri Jun 20 12:55:25 EDT 2003

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.

More information about the FreeTDS mailing list