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

wht is the difference between truncat,drop in sqlserver
wht is the difference between function and stored procedure

Answer Posted / rakesh

The Main Difference Between DELETE & TRUNCATE Are :-

[1] DELETE - is a DML Command & TRUNCATE - is a DDL Command

[2] After DELETE - can rollback the Records & After TRUNATE
- cannot rollback the records

[3] In DELETE Command you can give the conditions in WHERE
Clause & In TRUNCATE you cannot give conditions

[4] After using DELETE Command The memory will be occupied
till the user does not give ROLLBACK or COMMIT & After using
TRUNCATE Command The memory realeased immediately

Is This Answer Correct ?    8 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is pl sql commands?

1038


How to check if a column is nullable before setting to nullable?

1114


What does stand for in sql?

960


Does truncate table reset auto increment?

984


What is on delete set null?

1080


What is the need of a partition key?

981


How to run sql statements with oracle sql developer?

1054


What is auto increment in sql?

1112


Can we alter stored procedure?

979


What is the difference between clustered and non-clustered indexes?

1082


What does the argument [or replace] do?

1071


Which join is like inner join?

1015


In pl/sql, what is bulk binding, and when/how would it help performance?

986


How do I remove duplicates in two columns?

1048


What are the advantages of sql? Explain

1092