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 difference between coalesce() & isnull()?

727


What is dirty page?

723


What are the pros and cons of putting a scalar function in a queries select list or in the where clause?

948


What is log shipping? Can we do logshipping with SQL Server 7.0 - Logshipping is a new feature of SQL Server 2000. We should have two SQL Server - Enterprise Editions. From Enterprise Manager we can configure the logshipping. In logshipping the transactional log file from one server is automatically updated into the backup database on the other server. If one server fails, the other server will have the same db and we can use this as the DR (disaster recovery) plan.

2530


What is meant by indexing files?

778






Explain the stored procedure?

811


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

664


What is the difference between TRUNCATE and DROP?

806


How exceptions can be handled in sql server programming?

705


What are Spatial data types in SQL Server 2008

723


What is function of CUBE ?

758


what is new philosophy for database devises for sql server 7.0? : Sql server database administration

664


What is the difference between drop table and truncate table?

656


How to create user defined functions with parameters?

841


What is difference between after and before?

692