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

In informatics server which files are created during the session rums?

1165


can any one explain about dataflow in the informatica project for bank domain....thanks is advance

10727


Can we create a Integration service without a Repository service and vice versa?

1256


What is depict expression change?

1192


Describe data concatenation?

1124


What is data caches/ index caches?

1169


What is the different lookup cache(s)?

1129


Write the advantages of partitioning a session?

1332


Implementation methodology

1771


What are mapplets? How is it different from a Reusable Transformation?

1135


what is the -ve test case in your project.

2458


What is blocking transformation?

1187


Global and Local shortcuts. Advantages.

2088


Define sessions in informatica etl?

1101


What are the transformations that are not supported in mapplet?

1084