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

Answer Posted / nageswarao

truncate is used for deleting all data from table.
it is similar to delete command without condition.
main differences b/w delete & truncate are
1.truncate is faster in execution than delete which will
restructure the complete table without bothering of data.
where as delete checks the data row by row wrotes
information into log and deletes.
2.with truncate we cannot use any conditions

Is This Answer Correct ?    11 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to create a simple table to test triggers in ms sql server?

971


what is the system function to get current user's user id? : Sql server database administration

993


How to fetch the next row from a cursor with a "fetch" statement?

1068


Explain few examples of stored procedure over triggers?

1030


Explain features of analysis services?

992


How to see the event list of an existing trigger using sys.trigger_events?

1069


What are the kinds of subquery?

1008


What is a print index?

880


what are the types of indexes? : Sql server database administration

1113


What is the query and subquery?

1071


what is a mixed extent? : Sql server administration

1096


Explain what are various ways to enhance the ssrs report?

1039


How many joins in sql server?

945


Write a query for primary key constraint with identity key word?

1024


How you can change a cross join into an inner join?

959