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 / santosh

Basically truncate is a DDL and Delete is DML. You can use
delete to remove rows depending on certain criteria and it
generated redo logs and can be rolled back before you
commit the transaction, Where as the truncate is used to
remove all the data in the table. Once you execute this
command u can not rollback this transaction.and commit is
not required for the truncate statement

Is This Answer Correct ?    10 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1121


What is transparent data encryption? : sql server DBA

1251


what are the differences of where and if in SAS?

2249


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

1957


How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database? : sql server DBA

1251


what are the performance views in an oracle rac environment?

1119


how does an oracle clusterware manage crs resources?

1135


who owns the operating system files created by the utl_file package?

1125


What spfile/init.ora file parameter exists to force the CBO to make the execution path of a given statement use an index, even if the index scan may appear to be calculated as more costly?

2739


what is a user-defined lock?

1136


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.

2215


What are the high-availability solutions in sql server and differentiate them briefly? : sql server DBA

1090


what is the last version,the release date of that version and fix pack of ibm db2 udb?

2024


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

1260


What are the commands you'd issue to show the explain plan for "select * from dual"?

2268