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 / rajesh

Delete is DML statement which can delete data from table
which needs to be commited afterwards. But it doesn't free
memory area occupied by the data in the table.Where clause
can be used.

Truncate is DDL statement which is auto commit. It not only
deletes all data from table, but it also frees the memory
area occupied the data in the table. where clause is not
permitted. Works faster than delete statement

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is recursive stored procedure? : Sql dba

1027


Explain how can you save or place your msg in a table?

1075


Define select, insert, create, delete, update, drop keywords

1094


What is a variable in sql?

1050


What is union, minus and interact commands?

1364


What is cte sql?

1052


What is a memo field?

1015


how many sql dml commands are supported by 'mysql'? : Sql dba

1164


What is the mutating table and constraining table?

1079


Is progress software supports to ( pl/sql )?

1094


What is the maximum size of sqlite database?

1155


What is sql catalog?

1067


What are the packages in pl sql?

1065


What do you mean by stored procedures?

1069


If a cursor is open, how can we find in a pl/sql block?

1214