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

diff between DELETE and TRUNCATE?.

Answer Posted / manoj.oracle

Delete command is a dml command
truncate command is a ddl command

Delete command has a where clause.
truncate hasn't where clause.

Delete doesn't release memory space(means we can rollback
the deleted rows)
truncate releases memory space(means we can't rollback)

By using synonym we can delete a rows(Delete command).
By using synonym we can't delete a rows(Truncate command).



Is This Answer Correct ?    29 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How i can handle exception in large code like 1000 line without distrubing the code or without exception handler sction?

3159


From the following identify the non schema object: packages, triggers, public synonyms, tables and indexes.

1021


How to speed up webrick?

1014


How to start a specific oracle instance?

997


Why do we use bulk collect in oracle?

1017


How to write a query with a left outer join in oracle?

1007


Can you have more than one content canvas view attached with a window ?

2273


An automatic job running via DBMS_JOB has failedKnowing only that its failed, how do you approach troubleshooting this issue?

2000


HI Friends Myself Manoj,i am from bengaluru.i have 1 yr of exp in PLSQL but not upto the mark..now attending interviews but m not able to clear even 1 round..i have attended 3 interviews till today.purpose of writing this query is,i want to know the intreview topics that interviewer going to ask frequently,mainly SCENARIO based questions.IF anybody have any PLSQL projects please give it to me,it will helps me alot.Thanks for your patience.

1381


Explain the use of inctype option in exp command.

983


What is concurrency in oracle?

956


How to write numeric literals in oracle?

1133


What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?

4480


How a database is related to tablespaces?

991


What is proxy method?

933