Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between a Local temporary table and a
Global temporary table? How is each one used?

Answer Posted / sarvesh nakhate

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 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the differences between user defined functions and stored procedures?

1074


How do I create an extended event in sql server?

955


Which database stores information about replication?

1071


What is the difference between the export /import functions in sql studio and standalone sql manager? : sql server management studio

1143


Is a null value equal to anything? Can a space in a column be considered a null value? Why or why not?

1075


Which sql server table is used to hold the stored procedure scripts?

1062


What are character string data types in ms sql server?

1253


What is the guest user account in sql server? What login is it mapped to it? : sql server security

1064


How will you find out if there are expensive SQL statements running or not?

1015


When to use null data driven subscription?

207


What is SQL Azure?

107


You want to check the syntax of a complicated update sql statement without executing it. What command should you use?

991


How can change procedure in sql server?

1067


What is RMS migrations?

2134


What is a non equi join?

981