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 are the differences between drop a table and truncate
a table?

Answer Posted / shital

Delete - delete all the data from table but structure still remains as it is.
Truncate - delete all data from table but structure remains and memory still allocated for table.
Drop - delete all data as well as structure and also free the memory.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the full form of mysql?

1058


Is mysql a distributed database?

1026


How important is to list the column names when doing an insert?

1104


How to extract a unit value from a date and time?

996


What is strict mode in mysql?

951


Where does mysql store data?

938


What is 'mysqld'?

1004


all the queries used in sql

2710


What is a crosstab query?

1007


Can you tell what are various ways to create an index?

914


What is pdo :: fetch_assoc?

948


How can we change the data type of a column of a table?

1048


What is pdo connection?

929


explain GROUPBY & HAVING clause with examples.

2327


What are the differences between char and varchar?

1149