Re: SQL statement contain " character
- From: "Bill Hannan" <wfha@xxxxxxxxxxxxx>
- Date: Sat, 28 Jan 2006 13:44:41 -0500
As Vassiliev stated " (double quotes) below you need two ' (single quotes)
to force them into a string var. It can make SQL statemenst you build
dynamicly hard to read and debug.
Bill
"Dave Albiston" <mail@xxxxxxxxxxxxxxxxxx> wrote in message
news:43dbae02$1@xxxxxxxxxxxxxxxxxxxxxxxxx
>I am constructing the SQL dynamically so I can't set parameter type.
>Looking at the source, it looks like the ADO component creates a
>parameterised statement on the fly. I suspect a bug in there because in
>some other statements the " character is acceptable.
>
> Dave
>
> Bill Hannan wrote:
>> It works for me delphi 7 and Sql 2000
>>
>> Parameter datatype ftString.
>>
>> I'd check your parameter data type.
>>
>> Bill
>
.
- References:
- SQL statement contain " character
- From: Dave Albiston
- Re: SQL statement contain " character
- From: Bill Hannan
- Re: SQL statement contain " character
- From: Dave Albiston
- SQL statement contain " character
- Prev by Date: Re: SQL statement contain " character
- Next by Date: Re: Ado inside dll ?
- Previous by thread: Re: SQL statement contain " character
- Next by thread: Re: SQL statement contain " character
- Index(es):