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 truncate and delete statement?

Answer Posted / ismail hasan

truncate deletes records from a table and while truncating a
table, the table will be dropped from the database and will
again be created automatically. No where clause is
acceptable in truncate statement and one can't restore the
previous data (i.e no rollback is possible) into the table.
It's an efficient process.

Delete statement will delete a particular row(s) on your
choice.

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how you can move data or databases between servers and databases in sql server? : Sql server administration

974


Can we insert data into a view?

1143


What is named query? : sql server analysis services, ssas

971


Explain the truncate command?

990


Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?

1198


What is scan table/view and seek table/view when its occurs? : sql server database administration

1061


How do I find the query plan in sql server?

968


How should i optimize the time for execution of stored procedure having single input and many output from the different tables?

1920


How to insert stored procedure result into temporary table?

1021


What are joins in sql and what are the different types of joins?

1016


How do you trace the traffic hitting a sql server?

1146


what are database files and filegroups? : Sql server database administration

952


Explain timestamp datatype?

976


Explain how long are locks retained within the repeatable_read and serializable isolation levels, during a read operation with row-level locking?

1171


How to add an address record into adventureworkslt?

987