What is the difference between Temporary table variable and
a Table variable?
Or
Which Table variable I should use inside Stored procedure?
Answers were Sorted based on User's Feedback
Answer / oliva
There are major theoretical differences between temporary tables:
Temp table will show below
create table #T (…)
Table var will show below
And table variables:
declare @T table (…)
scope of table var is only inside the Store Procedure.
| Is This Answer Correct ? | 9 Yes | 1 No |
Answer / jagadeesh
transation can be rollback in temptable
but in tablevaribale we cannot do this
| Is This Answer Correct ? | 1 Yes | 0 No |
What is data mart? : sql server analysis services, ssas
Why is replication required on the sql server?
What is normalization and what are the advantages of it?
What are ddl triggers and types of ddl trigger?
What is a job?
Which command is used for user defined error messages?
What is table valued function and scalar valued functions?
What is tablesample?
wat is tuff file in log shipping, wt is d use of tht file?
Using the customer, and order table in northwind database, please write a query to produce xml?
What is function of CUBE ?
What are the steps to take to improve performance of a poor performing query? : sql server database administration
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)