Can't Prepare when '$' is included in parameter name
Posted: Sun 09 Feb 2014 20:05
Hello,
I've upgraded to 5.2.5. The following used to work in previous versions, but fails in 5.2.5.
I have the following table:
A TIBCSQL instance with the following statement:
Preparing the statement with the following code in Delphi 2010:
fails with the following exception text:
Obviously, if I remove the '$' from parameter names, preparing the statement works.
Any ideas?
Thanks.
I've upgraded to 5.2.5. The following used to work in previous versions, but fails in 5.2.5.
I have the following table:
Code: Select all
CREATE TABLE T10
(
T10$ID INTEGER NOT NULL,
T10$ID2 INTEGER,
CONSTRAINT PK_T10 PRIMARY KEY (T10$ID)
);
Code: Select all
insert into t10 (t10$id, t10$id2) values (:t10_id, :t10_id2)Code: Select all
if not IBCSQL1.Prepared then
IBCSQL1.Prepare;
Code: Select all
First chance exception at $7500C41F. Exception class EIBCError with message
'
Dynamic SQL Error
SQL error code = -104
Token unknown - line 1, column 44
$'.
Process IBDacPrepareBug.exe (4000)
Any ideas?
Thanks.