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,drop and truncate

Answer Posted / krishna

DELETE,DROP,TRUNCTATE are to use the remove the rows from the table

DELETE: Delete is used to delete the rows from table by using where condition also and we can ROLLBACK it also

DROP: Delete rows permanently and we can not ROLLBACK it.

TRUNCATE : Delete the data not the structure means in this delete only data but structure is same

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to find related tables in sql server?

887


Differentiate between a primary key and a unique key.

1019


Explain about system database?

1017


what is the difference between count(*) and count(1) ?

1040


Define ACID properties in a Database?

1012


System requirements for sql server 2005 express edition?

960


What is ms sql server triggers?

969


Explain primary key and foreign key constraints?

974


What do you understand by mirroring and mention the advantages of the mirroring?

1022


How to change the ownership of a schema in ms sql server?

1115


Explain how dts is used to extract, transform and consolidate data?

963


Why use “pivot” in sql server?

1060


What does top operator do?

976


What is transaction server implicit?

953


You have a stored procedure, which execute a lengthy batch job. This stored procedure is called from a trigger you do not want to slow the data entry process you do not want trigger to wait for this batch job to finish before it completes itself what you can do to speed up the process?

1102