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 / nirmala.s

if u use delete to remove the data from the table,this will
delete the data.after using rollback the removed data can
be retrived.But in case of, truncate , it will delete the
data and that can't ever be retrived.even after using
rollback also. but the table structure of the table will
be there

if u are using drop command , this will delete entire
table.and its structure.

Is This Answer Correct ?    29 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to set a database state to offline in ms sql server?

1046


what is a deadlock? : Sql server database administration

1064


What do you mean by cardinality?

903


What is a trigger what are the advantages of trigger?

1001


What is extent? Types of extents?

1193


How to add additional conditions in SQL?

1022


What is store procedure? When do you use?

936


What are sql servers used for?

1047


What is temporal data type?

921


What is meant by Active-Passive and Active-Active clustering setup?

1176


List some of the rules that apply to creating and using a ‘view’

888


What are three major types of constraints?

1118


Your table has a large character field there are queries that use this field in their search clause what should you do?

885


Can we call stored procedure in trigger?

950


What is the federation in sql azure?

97