The table "<str>" cannot be qualified by a catalog name "<str>" Explanation: A local temporary table (DECLARE LOCAL TEMPORARY TABLE) is not associated with a catalog and schema, but with its containing module. User Action: The correct way to refer to the local temporary table is alias-name.MODULE.table-name. Note that alias-name is optional.