In sql server if you create a local temp table it is with a single # sign sql server uses a few under-score and some ID in the back end. Say you create a Temp table with the name #Temp
sql server in temp db Creates a Table with name #Temp_______10912098
, every Temp table created in separate connections will have their on ID in the end of the name.
These are all the Temp Tables Created in different Connections all has the name #Temp
but are appended with some underscores and a unique id
sql server uses to differentiate between them.