Can you tell me the difference between DELETE & TRUNCATE
commands?

Answer Posted / saradhi

Truncate command result can be rolled back as it is not
made an entry in the log where as Delete command result
can't be rolled back

Is This Answer Correct ?    5 Yes 47 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

New concepts of sql server 2005 use in your project.

2102


Explain tablesample?

733


What is a field in a table?

785


Explain about SQLOS?

779


What does the update command do?

798


List some of the rules that apply to creating and using a ‘view’

679


Comment,Datatypes are unlimited

1815


What is the use of sign function?

765


How you can move data or databases between servers and databases in sql server?

779


How to round a numeric value to a specific precision?

785


How to use group functions in the select clause in ms sql server?

736


Tell me about normalization in DBMS.

767


Define compound operators?

688


How do database indexes work?

737


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.

2545