Re: SQL statement contain " character
- From: Kevin Davidson <kevin@xxxxxxxxx>
- Date: Mon, 30 Jan 2006 13:34:47 -0500
Dave Albiston wrote:
I am using the QuotedStr function. The SQL statement produced is valid - it is accepted if I execute it against SQL Server in Query Analyzer.I don't know about ADO, but the BDE had bugs in it's parameter checking when various special characters, including the quotation mark appear. Set ParamCheck = False.
The problem is somewhere between my code and the database. Looking through the source for ADOdb.pas it appears that it is converting the statement to a parameterised statement. This is failing when the double quote is in there but works if it is taken out. It also works if I set ParamCheck to false.
I just want to know why
Dave
Kevin .
- References:
- SQL statement contain " character
- From: Dave Albiston
- Re: SQL statement contain " character
- From: Viatcheslav V. Vassiliev
- Re: SQL statement contain " character
- From: Dave Albiston
- Re: SQL statement contain " character
- From: Brian Bushay TeamB
- Re: SQL statement contain " character
- From: Dave Albiston
- SQL statement contain " character
- Prev by Date: Re: Why all the connections?
- Next by Date: Please help with a serious issue
- Previous by thread: Re: SQL statement contain " character
- Next by thread: Re: SQL statement contain " character
- Index(es):