What is the difference between Temporary table variable and
a Table variable?

Or

Which Table variable I should use inside Stored procedure?

Answer Posted / jagadeesh

transation can be rollback in temptable
but in tablevaribale we cannot do this

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write an sql query to find first weekday of the month?

488


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 inserted rows to it for some custom processing. What do you think of this implementation? Can this be implemented better? : Sql server database administration

486


Difference between report and query parameter.

602


What is join query?

502


What is an identity column in insert statements?

587






What are constraints in microsoft sql server?

565


Explain database normalization?

649


Due to some maintenance being done, the sql server on a failover cluster needs to be brought down. How do you bring the sql server down?

874


Tell me the difference between clustered and non-clustered index?

520


How to test odbc dsn connection settings?

537


What is spid in sql server profiler?

542


Tell me when is the update_statistics command used?

515


List the ways in which dynamic sql can be executed?

647


What is autocommit mode in sql server?

549


What is transaction server isolation?

580