-7064: Feature not allowed in temp table definition

Explanation:

A referential CONSTRAINT definition cannot be specified for a temporary table.

User Action:

Repeat the SQL statement without the invalid specification, or create a permanent table in place of the temporary table.