Sql Temp Table Kullanımı. There are two ways to go about creating and populating a temp table. Then you can do things like.

The name of the local temporary table that you wish to create. This table refers to the temporary table name to which we will create and insert the datawe can specify the destination table as a local or global temporary. Bu tempdb sisteme ait bir veritabanıdır.
It is possible that an application can create multiple connections to sql server and if you use a temp table that may be available to one of the connections but not both connections.
Now in this section we will discuss an alternative method to create a temporary table which is by using the select into statement. The columns that you wish to create in the local temporary table. These are explained as following below. Local temporary table and global temporary table.