Subject | Re: [firebird-support] 'IN' problem |
---|---|
Author | Ann W. Harrison |
Post date | 2006-10-20T21:07:15Z |
Nick Upson wrote:
in preparing a statement identifies certain lexical elements -
including the elements in the IN list. You can replace values
after a statement is prepared, but not keywords, field or table
names, comparison operators, etc., and the in list is one of
the things that can't be changed.
Regards,
Ann
>Yes - that's what you have to do. The processing involved
> should I expect it to work if I do something like
>
> stmt = 'select count(*) from .....NOT IN (' || str || ')'
> execute immediate stmt
>
in preparing a statement identifies certain lexical elements -
including the elements in the IN list. You can replace values
after a statement is prepared, but not keywords, field or table
names, comparison operators, etc., and the in list is one of
the things that can't be changed.
Regards,
Ann