Thursday, December 6, 2012

What is the Difference between a Local and a Global Temporary Table?


A local temporary table exists only for the duration of a connection, or if defined inside a compound statement, for the duration of the compound statement.

A global temporary table remains in the database accessible across the connections. Once the connection where original global table is declared dropped this becomes unavailable.

No comments:

Post a Comment