Subject | Re: [IBO] Re: Working with IB_Cursors and params = error |
---|---|
Author | Helen Borrie |
Post date | 2011-12-16T11:52:29Z |
At 12:34 AM 17/12/2011, patrick_marten wrote:
Helen
>Removing the semicolon ';' from the end of the statement did the trick! It's working now - with a Prepare prior to ParamByName and without it.Yes, it's a bad idea, as it is not valid SQL. The isql tool (and its scripts) need statement terminators and, by default, the semi-colon is "it". But it doesn't belong in DSQL statements in other environments.
>
>But it's different after jason's change, since the very same statement was working before.
>
>Is it in general a bad idea to put a semicolon at the end of a statement?
Helen