15.03.2022 19:41, Dmitry Yemanov wrote:

Anyway, IMO "declared" LTTs are much more useful than "created" LTTs, so the latter ones may be deferred. Or we may live without them at all ;-)

  CREATE'd LTT's could be very useful to store\materialize intermediate results
of complex evaluations. Think about it as of temp variables used in complex
expressions. Obviously, GTT's are much less useful in such scenarios. 
*Relational*
DBMS should be able to operate with *relation*-based expressions, including
intermediate steps\results, isn't is ? ;) Yes, we have CTE's which allows to
reduce complexity of many queries, but it is not an universal solution. And
our optimizer is not smart enough, unfortunately to make CTE's more powerful.

Regards,
Vlad


Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to