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

Truncate is a DDL and delete is a DML command. Once you
truncate a table you cannot rollback where as you can
rollback from the delete command. When you truncate a
table it release the space and it resets the highwater
mark. Delete won't release the space and it won't resets
the highwater mark.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

List out some of the requirements to setup a sql server failover cluster.? : sql server DBA

1369


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?

2744


what is a crs resource?

1240


what do you understand by fine-grained auditing?

1105


how can you connect from 10g user to 11g user??

2166


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


Provide an example of a shell script which logs into SQLPLUS as SYS, determines the current date, changes the date format to include minutes & seconds, issues a drop table command, displays the date again, and finally exits.

2044


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

1133


What are statistics, under what circumstances they go out of date, how do you update them?

2312


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

2412


What are the recovery models for a database? : sql server DBA

1181


how does an oracle clusterware manage crs resources?

1139


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

1266


How would you go about verifying the network name that the local_listener is currently using?

3273


Can you redefine a table online?

1156