A temporary table is used within objects to hold temporary data. A temporary table does not exist outside the instance of the object where it is defined using a permanent table as the source of the table definition. A temporary table has exactly the same data structure as the permanent table after which it is modeled.
Temporary tables are created empty when the parent object execution initiates, and they disappear along with their data when the parent object execution terminates (that is, when the temporary table variable goes out of scope).
Temporary tables are not generally accessible to users, except on a display-only basis. They can directly be the target of reports, pages, and XML ports. In general, temporary tables are intended to be work areas, and as such, are containers of data. The definition of a temporary table can only be changed by changing the definition of the permanent table on which it has been modeled.