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 |
Can we check locks in database? If so, how can we do this lock check?
Which sql server is best?
What is transcation?Plz give One example?
Is sql server free?
how to give input dynamically to a insert statement in sqlserver
If you lose rights to your sql server instance what are the options to connect to sql server instance? : sql server security
Define candidate key, alternate key, composite key.
13 Answers Infosys, Software India,
Name three version of sql server 2000 and also their differences?
How do you delete a data source?
What is the difference between stored procedure and functions?
How do you debug a procedure in sql server?
What happens if null values are involved in bitwise operations?
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)