Restrictions on the Use of Declared Global Temporary Tables: Declared global temporary tables cannot:
Be specified in an ALTER, COMMENT, GRANT, LOCK, RENAME or REVOKE statement (SQLSTATE 42995).
Be referenced in a CREATE ALIAS, CREATE FUNCTION (SQL Scalar, Table, or Row), CREATE TRIGGER, or CREATE VIEW statement (SQLSTATE 42995).
Be specified in referential constraints (SQLSTATE 42995).
|