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

wt is the difference between truncate and delete in which
situation u use delete and truncate in real time..

Answer Posted / mukesh

TRUNCATE removes all rows from a table.The operation cannot
be rolled back and no triggers will be fired. As such,
TRUCATE is faster and doesn't use as much undo space as a
DELETE.

The DELETE command is used to remove rows from a table. A
WHERE clause can be used to only remove some rows. If no
WHERE condition is specified, all rows will be removed.
After performing a DELETE operation you need to COMMIT or
ROLLBACK the transaction to make the change permanent or to
undo it. Note that this operation will cause all DELETE
triggers on the table to fire.

TRUNCATE are DDL commands, whereas DELETE is a DML command.
As such, DELETE operations can be rolled back (undone),
while DROP and TRUNCATE operations cannot be rolled back.

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is Active lock explain

2723


Explain incremental aggregation in informatica

1061


What are the conditions needed to improve the performance of informatica aggregator transformation?

1033


What is rank transform?

940


What is joiner transformation in informatica?

992


Where do we use mapping variables in informatica?

995


How to create different types of slowly changing dimensions (SCD) in informatica using the mapping wizard?

1032


What do you mean by blocking transformation?

968


What are the transformations that are not supported in mapplet?

953


What is workflow monitor?

993


How can we use mapping variables in informatica? Where do we use them?

1097


What is joiner transformation?

942


Explian the Process of deployment groups in informatica

988


if we have a delimiters at unwanted places in a flat file how can we over come those.

1984


What do you understand by term role-playing dimension?

979