What is the difference between local table and global table
Answer / radha
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.
Is This Answer Correct ? | 17 Yes | 7 No |
What is the cartesian product of the table?
How each E-R model constructs can be mapped to the relational model?
What is an index in a database?
write query for fourth maximum salary from employee table
14 Answers Mind Tree, SP Software,
What is transact-sql language?
How to create a new table in a given schema?
What is Sqlpaging in SqlServer 2005 ?
What is nolock?
What is the use of tempdb? What values does it hold?
Explain the characteristics of a transaction server for example atomicity, consistency, isolation, durability?
what is Equity join?
What is the maximum size of column in sql server?