X389: Illegal operation on temporary table

The current operation is not allowed on a temporary table. Temporary tables are not allowed to have primary/unique keys, or to be referenced by foreign keys. Also, update/delete operations on records in temporary tables are not allowed.
Restriction: This topic applies to Windows environments only.