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 DELETE and TRUNCATE?

Answer Posted / satyajit patel

DELETE: DML, Manual Commit, Till not committed can be
rollback, can be applied for both row level as well as
table level, can be used in trigger, doesn't release memory.

TRUNCATE: DDL, auto commit, cann't rollback, applied table
level, cann't be used in trigger, releases memory.

In both cases structure remains.

Is This Answer Correct ?    14 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is not equal in sql?

1012


How consistent is the view of the data between and within multiple sessions, transactions or statements ?

2221


tell me about various levels of constraint. : Sql dba

1035


What is the difference between inner join and outer join?

996


Explain what is a view?

1059


Which software is used for pl sql programming?

986


Is oracle and sql same?

1010


What is exit statement?

1015


How do I create a sql script?

1101


What is recursive stored procedure?

1099


Write a sql query to get the third highest salary of an employee from employee_table?

1073


What is the difference between a procedure and a function?

1111


what is the difference between mysql_fetch_array and mysql_fetch_object? : Sql dba

1068


What is difference between stored function and application function?

1200


How many types of relationship are there?

1031