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's the difference between DELETE TABLE and TRUNCATE TABLE
commands?

Answer Posted / naveen reddy

delete table deletes entire table if we want to delete or else we can delete specific column or row.

if we wish to simply get rid of the data but not the table itself? For this, we can use the TRUNCATE TABLE command. The syntax for TRUNCATE TABLE is

TRUNCATE TABLE "table_name"

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 a spanning Tree?

1662


What does %p mean c?

1120


If fflush wont work, what can I use to flush input?

1153


What are the main characteristics of c language describe the structure of ac program?

1264


How can I discover how many arguments a function was actually called with?

1115


What is the use of getchar() function?

1184


how can f be used for both float and double arguments in printf? Are not they different types?

1130


What are compound statements?

1245


What does 4d mean in c?

1562


What is difference between structure and union in c?

1039


What are the 5 elements of structure?

1132


What is line in c preprocessor?

1103


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

2028


What do you mean by Recursion Function?

1181


What does a pointer variable always consist of?

1160