Of course it will throw an error, maybe you catch the error with a CONTINUE handler?
It's up to you to implement the correct order, it's your source code :-)
The maximum number of VTs is way more than 64, it's 1000 plus 2000 materialized Global Temporary Tables per session.
Dieter
↧