On Fri, Apr 09, 2004 at 01:12:14PM -0400, Chris Faust wrote:
> Hello,
> 
> I'm using the combination of DBI, DBD::Sysbase and FreeTDS to connect to an MS-SQL 
> server.
> Due to the issues with placeholders and sp's (specifically not being able to use 
> them), I'm forced to properly deal with any single and double quotes.
> 
> It seems like DBI->quote does almost everything correctly with the exception of 
> leaving double quotes unchanged.
> 
> Is there some way to get the quoting method to continue to work as it does now but 
> to also change
> 
> "
> to
> 
> ""

Do double quotes really need to be doubled when embedded within a
single quoted string? In other words, isn't 'foo"bar' correct for Sybase?

Are you quoting literal strings or schema identifiers?

Tim.

> Thanks!
> -Chris
> 
> DBI 1.38
> DBD::Sybase 1.47

Reply via email to