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 |
How to provide default values to stored procedure parameters?
Explain the dbcc pintable command when would you use it?
What is trigger in salesforce?
Do you know what is difference between index seek vs. Index scan?
What are sub-queries? Give example? In which case sub-queries are not feasible?
How can I create a table from another table without copying any values from the old table?
What is sql server schema compare? How we can compare two database schemas?
How to add additional conditions in SQL?
There is a trigger defined for INSERT operations on a table, in an OLTP system. The trigger is written to instantiate a COM object and pass the newly insterted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better?
What are the system database in sql server 2005?
Difference between primary key and clustered index?
Explain a differential backup?
Oracle (3253)
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)