Using
code below in runnable class we can find temporary table name, which is created
in SQL tempDB.
// Declare a TempDB table buffer
TmpCustName tCustName;
// Insert data to create the table in TempDB database in SQL
tCustName.AccountName = '10001';
tCustName.insert();
// Display the name
info(tCustName.getPhysicalTableName());