Subject | Re: Working with IB_Cursors and params = error |
---|---|
Author | patrick_marten |
Post date | 2011-12-16T12:50:03Z |
Hello Helen,
Best regards,
Patrick
> >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.That's good and important to know, thank you!
> >
> >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?
>
> 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.
>
> Helen
>
Best regards,
Patrick