difference between truncate, delete aur drop?

Answer Posted / v.krishnakumar

in truncate we can delete inside the table data not the
structure of the table,in delete operation we can remove
our data in the table as well as structure but we can get
again using rollback operation, in drop operation it was
permanentely removed from our database we cannot get agian.

Is This Answer Correct ?    13 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 7 disadvantages to a manual system?

499


What is the stored procedure?

555


Help!!!!!!!!!!!! My database has gone offline, it is highlighted as 'Suspect'. Foolishly, i haven't got a recent back up. Is there a way of quickly restoring the database? Thank you

1298


Can sql server be linked with other servers like oracle?

516


what are user defined datatypes and when you should go for them? : Sql server database administration

530






How to set the current database in ms sql server?

518


Detail about query optimizer?

603


Explain subquery and state its properties?

541


Can you explain what are various ways to enhance the ssrs report?

577


How to throw custom exception in Stored Procedure?

568


What are the benefits and tasks of object explorer? : sql server management studio

603


Can sql servers link to other servers like oracle?

459


Find nth lowest salary or get nth lowest salary?

584


How many databases can we create in a single server?

187


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

480