-7064: Feature not allowed in temp table definition 

Explanation:

It is not possible to specify a REFERENTIAL CONSTRAINT DEFINITION for a temporary table.

User Action:

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