Subject | Re: [firebird-support] FB-1.5.2 SP error in execute statement |
---|---|
Author | Dimitry Sibiryakov |
Post date | 2005-02-09T04:59:36Z |
On 8 Feb 2005 at 19:07, intellekta wrote:
EXECUTE STATEMENT doesn't do this.
AFAIR it was done for better security.
--
SY, Dimitry Sibiryakov.
>can anybody tell me why this statement worksBecause SELECT perform typecast from BIGINT to INTEGER while
>
>SELECT GEN_ID(GEN_MYTABLE_ID, 1) AS NID FROM RDB$DATABASE INTO NEWID;
>
>but this not ?
>
>SQL = 'SELECT GEN_ID(GEN_MYTABLE_ID, 1) AS NID FROM RDB$DATABASE';
>EXECUTE STATEMENT SQL INTO NEWID;
EXECUTE STATEMENT doesn't do this.
AFAIR it was done for better security.
--
SY, Dimitry Sibiryakov.