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

Answer Posted / amita

Delete command only delete the rows from the table but the
schema of the table yet remains.Whereas Truncate command
delete the rows along with the tale's schema from the
memory permanently.

Is This Answer Correct ?    3 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How global temporary tables are represented and its scope?

728


Explain external key management in sql server 2008

688


Define left outer join in sql server joins?

719


What is mapping schema?

785


Explain what is public role in sql server?

805


What is policy management?

745


How to delete all rows with truncate table statement in ms sql server?

700


1)what is the difference between Reinitializing a Subscription and synchronization the subscription? 2)when to use reinitializing ? 3)when to use synchronization? 4)when adding table or deleting a table what to do?(reinz.. or syn) 5)when adding a column what to do?

1743


Can we write a distributed query and get some data which is located on other server and oracle database?

961


Tell me what is a linked server?

777


What’s the use of custom fields in report?

728


what's the difference between delete table and truncate table commands? : Sql server database administration

684


Does table partitioning improve performance?

711


What is the library index called?

792


What is nonclustered index with included columns ?

718