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 Difference Between delete and Truncate?

Answer Posted / nandini sett

Both delete and Trunate are DML or Data Manupilating
Language.
Both statements --- Delete table_name and Truncate table
table_name --- deletes all rows.
Truncate Table works faster than delete.
Truncate table does not support where clause and truncate
doe not fire a trigger. When truncate is used the deleted
rows are not entered in transaction log.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Suppose a student column has two columns, name and marks. How to get name and marks of the top three students.

1021


What is a mutating table and a constraining table?

1115


What are different types of statements supported by sql?

1165


what is the difference between rownum pseudo column and row_number() function? : Sql dba

1083


What is materialized view in sql?

921


how is myisam table stored? : Sql dba

1056


Explain autonomous transaction.

1157


Do triggers have restrictions on the usage of large datatypes, such as long and long raw?

1166


Explain character-manipulation functions?

1134


Explain the the delete statements in sql?

1063


What are the different types of constraints?

1187


How do I remove duplicates in two columns?

1067


What is view? Can we update view

1440


How is use pl and sql?

1064


What is mutating error in pl sql?

1020