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

Compare and contrast TRUNCATE and DELETE for a table.

Answer Posted / sridhar

truncate and delete are deltes all rows in the table but truncate is much faster than delete.
and if u delete row in the delte deletion of each gets logged in the transaction log.
truncate there is no way to log in transaction log

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Database crashes. Corruption is found scattered among the file system neither of your doing nor of Oracle's. What database recovery options are available? Database is in archive log mode.

2192


How would you best determine why your MVIEW couldn't FAST REFRESH?

2293


what do you understand by flashback feature of oracle?

947


What are the different types of indexes available in sql server? : sql server DBA

1110


What are the commands used in dcl? : sql server DBA

995


What are the different types of upgrades that can be performed in sql server? : sql server DBA

1150


how can you record information about current session?

977


How do you open a cluster administrator? : sql server DBA

1033


What are the differences in clustering in sql server 2005 and 2008 or 2008 r2? : sql server DBA

938


what is a user-defined lock?

984


how can a session indicate its interest in receiving alerts?

980


Why would you call update statistics? : sql server DBA

948


what are the performance views in an oracle rac environment?

1001


Which dictionary view(s) would you first look at to understand or get a high-level idea of a given Advanced Replication environment?

1869


internal architecture

2141