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 diff between Truncate table / delete <table
name> purge

Answer Posted / murthy

TRUNCATE:-IT WILL DELETE ALL THE EXISTING RECORDS IN A TABLE

SYNTAX:-TRUNCATE TABLE <TABLE NAME>

DELETE:-IT WILL DELETE THE RECORDS IN A TABLE DEPENDINFG ON
THE GIVEN CONDITION.

SYNTAX:-DELETE FROM <TABLE NAME> WHERE <CONDITON>


PURGE:-AFTER PERFOMING DROP OPERATION THE TABLES WILL STORE
AT UNDO LOGS SO TO DELETE THE DATA COMPLETELY FROM TAHE
DATA BASE WE WILL PURGE THE RECYCLEBIN.

SYNTAX:-PURGE RECYCLEBIN.

Is This Answer Correct ?    10 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is 'mysqldump'? : Sql dba

1164


What is the maximum number of triggers, you can apply on a single table?

1046


What is sql dialect?

1172


What is the difference between microsoft access and sql server?

1104


What is an invalid partition table?

1063


Explain 3 basic parts of a trigger.

1372


What are synonyms in sql?

1017


What is a memo field?

1015


What is pls integer?

1087


What is clustered and nonclustered index in sql?

985


Can you load data into multiple tables at once? : aql loader

1117


Are there any features that are decommissioned in 11g that are not present in 11g?

2194


how to select first 5 records from a table? : Sql dba

1021


Enlist the advantages of sql.

1051


What is nvl?

1108