Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

What is the difference between Drop and Truncate

Answer Posted / meera

Drop: delete all data as well as structure.

Truncate: Delete only the data and resets the auto increment
column to 0.

Delete: Delete the selected or all rows from the table , it
doesn't reset to auto increment .

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are data resources?

963


Explain where clause?

1033


what is create database syntax? : Sql server database administration

1158


What is an index in sql?

1066


How do you debug a procedure in sql server?

993


How to implement one-to-one, one-to-many and many-to-many relationships while designing tables?

1071


Explain error and transaction handling in sql server?

1062


What is replication with database mirroring? : sql server database administration

1148


what is the difference between writing data to mirrored drives versus raid5 drives. : Sql server administration

1008


What are sql servers used for?

1111


What stored by the model?

1139


How to get a list of columns in a view using the "sp_columns" stored procedure?

1086


How many triggers are possible per table?

1139


Define msdb database?

1075


What is a database table?

1021