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 are all the different normalizations?

1032


How do I view stored procedures?

975


what is the bond code in materialized view?

3002


How to use boolean type in select statement?

1077


What do you understand by pl/sql packages?

1058


What is the difference between having and a where in sql?

1108


What is a temporal data type?

1052


what is table? : Sql dba

1064


What is duration in sql profiler trace?

1082


how can we take a backup of a mysql table and how can we restore it. ? : Sql dba

975


What is Collation Sensitivity ? What are the various type ?

952


In a distributed database system, can we execute two queries simultaneously?

1093


Are sql database names case sensitive?

1006


Explain what is a field in a database and record in a database?

1097


What is the use of nvl function?

1198