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 basic diffrence betn a col declared in char(1) and in varchar(1)
How to select an exiting database using mssql_select_db()?
How to find the last update record in SQL Server?
What is set nocount on and what is set nocount off?
Explain different types of locks in sql server.
How can you find out which stored procedures are recompiling?
Write a query to find 5th highest amount paid from the customer table.
What is create command?
what is cursor?why we will go to cursor?advantages &disadvantages of cursors?
What are different types of raid levels?
How to use union to merge outputs from two queries together in ms sql server?
What is self join in sql server joins?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)