I create a temp table with the following scripts
SELECT *
INTO #TEMP
FROM [mySchema].[Mytable]
The temp table location is at System Databases>Tempdp>temporary table>dbo.#Temp
How can I query the temp table in SQL Server New Query Windows from SQL Server Management Studio (SSMS) (V18.9.2)
Based on Zaynul Abadin Tuhin Answer: We can query the global temp table by creating ##Temp
SELECT *
INTO ##TEMP
FROM [mySchema].[Mytable]