What is the difference between temp table and table variable?

Answer Posted / nalla

Temporary variables logs very less into transaction log, so
compare to Temp tables, temp varaibles are good in
performance wise.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the preferred way to create a clustered and non-clustered index? Which index should you create first the clustered or non-clustered?

473


What is filter index?

514


How to write a query with an inner join in ms sql server?

541


How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database?

635


What do you understand by hotfixes and patches in sql server?

509






Which rendering formats are affected by the pagesize properties?

106


How can change procedure in sql server?

517


What are the built in functions in sql server?

484


Explain different types of self contained sub query?

536


How to create a new table in a given schema?

652


What is a subquery in a select query statement in ms sql server?

580


What the different components of Replication and what is their use?

550


What are distinctive joins find as a part of sql?

552


How to turn on the mssql api module in php?

559


What is table value parameters (tvp)?

535