Alexander Todorov wrote:
I am using SQLdb 1.0 / Lazarus 0.9.8 / FPC 2.0.1 on Windows XP with
Firebird 1.5 database.
When a statement like
INSERT INTO TEST (ID, DATAFIELD) VALUES (1, 'this :is a :test') is
executed i get an error.
The problem is that values after the colon ':' characters are parsed
as parameters. In my particular case FSQLQuery.Params.Count was 2.

Joost, does the Firebird implementation use TParams.ParseSQL? I checked ('my') 
code in ParseSQL, and it should work. Perhaps TIBConnection does some manual 
scanning for : characters too?

Regards,

Bram

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to