What is the difference between a local and a global variable?

Total Post:782

Points:3910
C# 
C#
 1389  View(s)
Ratings:
Rate this:
  1. Post:782

    Points:3910
    What is the difference between a local and a global variable?

    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 permanently, but the rows exist only within a given connection. When connection is closed, the data in the global temporary table disappears. However, the table definition remains with the database for access when database is opened next time.

      Modified On Mar-27-2018 04:28:22 AM

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!