Advantage Error Guide
Problem: The temporary table is already in use. There are two possible causes for this error:
An attempt was made to open a temporary table as a regular table using the table path directly when the temporary table is already in use. Or
An attempt was made to open a temporary table when the table has already been opened as a regular table using the table path directly.
Solution: Avoid opening temporary tables as regular tables.