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

What is the purpose of forms?

905


Explain about SQLOS?

945


What do you mean by a Composite primary key?

1027


Using the customer, and order table in northwind database, please write a query to produce xml?

1005


You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?

980


Can we update data in a view?

968


What is a self join in sql server?

1051


What is the stuff and how does it differ from the replace function?

1001


Which tools are available to manage SQL Azure databases and servers?

113


How do I run a trace in sql server?

928


What is optimistic concurrency?

975


What is the need for group functions in sql?

1006


Can sql servers linked to other servers like oracle?

901


How to change a login name in ms sql server?

1023


You have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation?

839