Subject | Re: [firebird-support] Re: Problem with FIRST in where clause |
---|---|
Author | Martijn Tonies |
Post date | 2006-08-31T11:40:50Z |
> > First n doesn't work properly in a subquery.I doubt it ...
>
> Will this be solved in FB 2?
Whenever the/a subquery is not depending on items in
the outer query, it should materialize this result first and
then use the cached result. Firebird doesn't do this. Ever.
Same issue:
insert into mytable
select * from mytable
-> this will create an endless loop, while it's perfectly
valid SQL.
Martijn Tonies
Database Workbench - tool for InterBase, Firebird, MySQL, NexusDB, Oracle &
MS SQL Server
Upscene Productions
http://www.upscene.com
My thoughts:
http://blog.upscene.com/martijn/
Database development questions? Check the forum!
http://www.databasedevelopmentforum.com