What is the difference between #temptable and ##TempTable in SQL Server?
#temptable
##TempTable
The table will be visible/available up until the process/connection that created it ends and only to the session that created it.
The table is global and will be available to everyone until the process/session that created it is ended.