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 is hung. Old and new user connections alike hang on impact. What do you do? Your SYS SQLPLUS session IS able to connect.

2038


What types of replication are supported in sql server? : sql server DBA

1294


Where do you find the default index fill factor and how to change it? : sql server DBA

1076


Assuming today is Monday, how would you use the DBMS_JOB package to schedule the execution of a given procedure owned by SCOTT to start Wednesday at 9AM and to run subsequently every other day at 2AM.

2151


Explain about your sql server dba experience? : sql server DBA

1080


In what script is "snap$" created? In what script is the "scott/tiger" schema created?

2438


How does propagation differ between Advanced Replication and Snapshot Replication (read-only)?

2033


How to start SQL Server in minimal configuration mode?

7967


Query processing is slow(eg select query)how will u solve that

7909


How do you trace the traffic hitting a sql server? : sql server DBA

1565


You have 4 instances running on the same UNIX box. How can you determine which shared memory and semaphores are associated with which instance?

4425


Why would you call update statistics? : sql server DBA

988


What view(s) do you use to associate a user's SQLPLUS session with his o/s process?

2546


Typically, where is the conventional directory structure chosen for Oracle binaries to reside?

2617


what is logical system in sap basis

1636