Subject | Implicit type casting of integers into strings in update statement |
---|---|
Author | stegt |
Post date | 2010-04-09T10:44:40Z |
Hi,
I'm converting a legacy Interbase application. I have noticed a few queries that are created dynamically in Delphi which assign an integer value into a string field in the database. In Interbase this works ok, but I'm getting an error when Firebird tries to run these statements. I need to have the quotation marks around the values in Firebird.
I am going through the code and correcting all these statements, but I could do with some clarification that this has been changed in Firebird. I have gone through the release notes for 2.1.3 but can't find anything, so just hoping someone may know before I trawl through earlier release notes.
Cheers.
I'm converting a legacy Interbase application. I have noticed a few queries that are created dynamically in Delphi which assign an integer value into a string field in the database. In Interbase this works ok, but I'm getting an error when Firebird tries to run these statements. I need to have the quotation marks around the values in Firebird.
I am going through the code and correcting all these statements, but I could do with some clarification that this has been changed in Firebird. I have gone through the release notes for 2.1.3 but can't find anything, so just hoping someone may know before I trawl through earlier release notes.
Cheers.