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...

Can you tell me the difference between DELETE & TRUNCATE
commands?

Answer Posted / anil

Delete Commands:

it is dml statement
you can specify delete command with critery (where
condition)

syntax: Delete * from tablename where condition

Truncate Command:

it is DDL statement
you can not specify critery with truncate table

syntax: truncate table tablename

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of toad or sqldbx.?

1098


What is database isolation in sql server? : sql server database administration

1022


Can you index views?

852


How to edit table in sql server 2017?

880


How can you tell if a database object is invalid?

1013


What are sql azure firewall rules?

106


What are “lost updates”?

948


you accidentally delete the msdb database what effect does this have on your existing sql databases, and how do you recover? : Sql server administration

1192


how to trace the traffic hitting a sql server? : Sql server database administration

1770


What are distributed partitioned views?

1006


What is the filtered index?

975


What is a recursive stored procedure in sql server?

1086


my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions

1891


What is DCL?

978


How to get the query of a table in sql server?

849