What is the difference between Drop and Truncate

Answer Posted / koti-khammam

TRUNCATE: Only data is deleted structure of the table
exists.


DROP: Both data and structure of the table gets removed.

Is This Answer Correct ?    57 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to defragment indexes with alter index ... Reorganize?

811


How do you rebuild an identity column?

748


List the different index configurations possible for a table?

703


How to add a new dsn with the odbc driver for sql server?

773


What should be the fill factor for indexes created on tables? : sql server database administration

885


Explain use of expression builder.

771


What are different types of statement?

703


What is plan freezing?

743


Explain log shipping and mention its advantages.

808


How to apply filtering criteria at group level with the having clause in ms sql server?

782


What are the different index configurations a table can have?

720


How to select some specific rows from a table in ms sql server?

795


Write a SQL query in order to merge two different columns into single column?

841


What do you mean by normalisation?

709


What is resource governor in sql server?

745