Subject Re: [firebird-support] Re: Using a query parameter before a sub query
Author Tobias Grimm
Milan Babuskov schrieb:

> WHERE (?) < (SELECT ...


This does not work.


> WHERE cast(? as integer) < (SELECT ...


This works!!!

But why doesn't it work without the explicit cast? The following queries
don't need such a cast:

WHERE ? < foo.bar
WHERE (SELECT ...) > ?


Tobias