- Local temporary table
- Global temporary table.
Local Temporary Table
Local temporary table is available only to the current Db connection for current user and are cleared when connection is closed. Local temporary table can not be shared among multiple users.
Global Temporary Table
Global temporary table is available to any connection once created. They are cleared when the last connection is closed. Global temporary table can be shared by multiple user sessions.
Temporary tables are used to allow short term use of data in Microsoft SQL Server.
Nice post very helpful
ReplyDeletedbakings