adspace


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

Why use identity in sql server?

1203


Equi join and non equi join is possible with sql server?

1134


explain different types of backups avaialabe in sql server? Given a particular scenario, how would you go about choosing a backup plan? : Sql server database administration

1134


Can we do dml on views?

1039


What is subquery? Explain the properties of a subquery?

1063


Can sql servers link to other servers like oracle?

919


How do I find query history in sql server?

1026


When should you use an instead of trigger?

1054


What are the different SQL Server Versions you have worked on?

1080


Can we make the the chages By Using the Sql if u know any function or process please inform me Actuall result: BRK1 Break 1 Part 1 00:01:00:00 60 BRK1 Break 1 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 BRK2 Break 2 Part 2 00:01:00:00 60 BRK2 Break 2 Part 3 00:01:00:00 60 BRK3 Break 3 Part 1 00:01:00:00 60 BRK3 Break 3 Part 2 00:01:00:00 60 Desired O/P: BRK1 Break 1 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 BRK2 Break 2 Part 1 00:01:00:00 60 Part 2 00:01:00:00 60 Part 3 00:01:00:00 60

2296


How do I find the sql server version?

1103


What are the source of constraints?

1010


What are the different types of subquery?

1235


Where can you add custom error messages to sql server?

1215


What is temporary table in sql server? Why we use temp table?

1023