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


what is the difference between TRUNCATE and DELETE command
in SQL

Answers were Sorted based on User's Feedback



what is the difference between TRUNCATE and DELETE command in SQL..

Answer / amit

In Truncate only data are remove from table
where as in delete structure of table are delete.

Is This Answer Correct ?    3 Yes 9 No

what is the difference between TRUNCATE and DELETE command in SQL..

Answer / rams

TRUNCATE:
1. it is a DML command.
2. by using truncate we can remove data in a table
permanantly.
3. we cant roll back the data.
4. it is faster than delete command.

DELETE:
1. it is a DDL command
2. by using delete command we can remove data in a table,
but we can rollback the data.
4. it is slower than the truncate command.

Is This Answer Correct ?    13 Yes 21 No

what is the difference between TRUNCATE and DELETE command in SQL..

Answer / praveena

Truncate is the ddl command we can't get back, the delete
command we can delete the table not the fields.
In the turncate we can not get fields also these the main
differance.,
i think so

Is This Answer Correct ?    13 Yes 43 No

Post New Answer

More Oracle AllOther Interview Questions

how can we add a field to the oracle standard forms through Form Persanlization or custom.pll

0 Answers   TCS,


what is diff between pre insert,on insert,post insert triggers?

1 Answers   IRISA,


What is autocashrule set? : oracle accounts receivable

0 Answers  


What is the Query Optimizer. How you optimize your qeury.

2 Answers   Ericsson,


as a technical developer in oracle applications which type errors feced in your experience sofar

0 Answers   HCL,


Give two methods you could use to determine what DDL changes have been made.

1 Answers  


Can you explain how to adjust the amount of advance already received against an invoice? : oracle accounts receivable

0 Answers  


Explain prerequisites and post activities of oracle database installation

0 Answers  


How would you force a log switch?

1 Answers  


What are different types of receipt reversals ? Explain them : oracle accounts receivable

0 Answers  


HOW TO SAVE UNIVERSES AND DOCUMENTS IN THE REPOSITORY?

0 Answers  


HOW SHALL WE DIFFERENTIATE BETWEEN PRIMARY KEY AND FORIEGN KEY?

4 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)