Subject Re: [firebird-support] Using a query parameter before a subquery
Author Tobias Grimm
Svein Erling Tysvaer schrieb:

> I agree that this is an error. I tried a few things that failed at
> prepare time:

> select count(*)
> from rdb$database
> where cast(:x as Integer) < (select count(*) from rdb$database)

This one works with Firebird 2.0 (tested with FBEmbedded 2.0.0.12748 and
2.0.1.12855)

I've added an issue now: http://tracker.firebirdsql.org/browse/CORE-1156

Tobias