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 are orphan records?
Do comments need to go in a special place in sql server 2005?
how to give input dynamically to a insert statement in sqlserver
How to create a user name in a database?
What is conditional split?
What is a non equi join?
Call by value and call by reference in procedure and function, with NOCOPY.
What is data compression?
What happens if the update subquery returns no rows in ms sql server?
Do you know what is a trace frag? Where do we use it?
application server is slow what may be the problem
after migrating the dts packg to ssis by using migrtn wizrd in 2005. iam not able to open ssis pack and getting error. what r those errors? how to resolve?