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's the difference between DELETE TABLE and TRUNCATE
TABLE commands?

Answer Posted / radh

TRUNCATE is a DDL command whereas DELETE is a DML command.
Hence DELETE operation can be rolled back, but TRUNCATE
operation cannot be rolled back. WHERE clause can be used
with DELETE and not with TRUNCATE.

Is This Answer Correct ?    27 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an entity-relationship diagram (erd)?

1119


Why do we use functions?

852


Does windows server 2016 come with sql server?

876


Mention the 3 ways to get a count of the number of records in a table.

917


What is encryption key?

115


what are the three command line utilities and what are their primary functions?

136


how many clustered indexes can be created on a table? : Sql server database administration

1063


Tell me what is the order in which the sql query is executed?

895


How to verify a login name with sqlcmd tool?

1131


How do you make a trace?

951


What are ddl triggers and types of ddl trigger?

974


How to locate and take substrings with charindex() and substring() functions?

942


Can sub report data source be different from that of the parent report?

135


Which language is supported by sql server?

953


What is difference between join and natural join?

894