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 DELETE and TRUNCATE?

Answer Posted / manivasan.s

You cannot TRUNCATE a table that has any foreign key
constraints. You will have to remove the contraints,
TRUNCATE the table, and reapply the contraints.

You can DELETE any row that will not violate a constraint,
while leaving the foreign key or any other contraint in place.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Write the order of precedence for validation of a column in a table? I. Done using database triggers. Ii. Done using integarity constraints

1074


what are the types of subquery? : Sql dba

1105


What is microsoft t sql?

946


list out some tools through which we can draw e-r diagrams for mysql. : Sql dba

969


what are the different type of normalization? : Sql dba

1027


What is difference between pls_integer and integer?

958


What is pl/sql language case sensitive?

1125


how to start mysql server? : Sql dba

1199


What is set serveroutput on?

1136


What is the difference between pl and sql?

1093


Are ddl triggers fired for ddl statements within a pl/sql code executed using the dbms.sql package?

1089


How do I save the results of sql query in a file?

978


What is loop in pl sql?

1037


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

2149


what are the differences between binary and varbinary? : Sql dba

1042