Re: SQL statement contain " character
- From: Brian Bushay TeamB <BBushay@xxxxxxxxx>
- Date: Sun, 29 Jan 2006 20:28:55 -0600
>The problem character is a double quote, not 2 single quotes. It is used
>as an abbreviation for inches. Since the application is used by
>engineers, it occurs fairly often.
>
>I tried doubling the double quote and also embedding it between single
>quotes. Neither worked.
Use the delphi QuotedStr function.
sql := QuotedStr('update TableName set TextField = Could not save with '' in')
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.
- Follow-Ups:
- Re: SQL statement contain " character
- From: Dave Albiston
- Re: SQL statement contain " character
- 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
- SQL statement contain " character
- Prev by Date: Re: Ado inside dll ?
- 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):
Relevant Pages
|