What is the difference between Drop and Truncate

Answer Posted / lakshmi

Drop can be used to drop the entire table including data
and structure of table where as truncate removes rows from
table but the structure of table remains as it is.

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is de-normalization in sql database administration? Give examples?

715


Can you import Microsoft Excel data to SSRS?

111


How to add the custom code in Report?

112


What is resource governor?

724


What are built in functions?

758






Explain data warehousing in sql server?

774


What is a fan-out query in SQL Azure?

115


Explain sql server service broker?

708


What is difference statement and preparedstatement?

726


How can you list all the columns in a database?

719


What is the difference between resultset and resultsetmetadata?

709


Can I use sql azure as a backup with log shipping or database mirroring?

148


What is key set driven?

705


How many replicas are maintained for each SQL Azure database?

138


How to insert and update data into a table with "insert" and "update" statements?

703