Subject Re: SELECT for get the number of contexts
Author Dmitry Yemanov
26.09.2015 05:59, 'Walter R. Ojeda Valiente' wrote:
> Is there some SELECT that can give me the number of context a stored
> procedure has?

No, it's impossible.

> Other question:
> Which are the comands that count as context?
> I know: INSERT, UPDATE, DELETE, SELECT, UNION. Is there some more, JOIN
> or FETCH maybe?

It's not about commands, context is a table reference. A trivial INSERT
statement has one context, join of three tables has three contexts, etc.
Additionally, every UNION and GROUP BY produce one more context.

> And the last question:
> That number of 255, will be incremented in Firebird 3?