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

A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler

1049


What is the basic structure of c?

1008


`write a program to display the recomended action depends on a color of trafic light using nested if statments

2073


What is the difference between fread and fwrite function?

1032


Why C language is a procedural language?

974


What are pointers? What are stacks and queues?

1061


Why does this code crash?

1026


How would you rename a function in C?

992


Explain what is the benefit of using const for declaring constants?

966


hi any body pls give me company name interview conduct "c" language only

2229


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

2340


What are the advantages of union?

1020


What is the use of in c?

942


C program to find all possible outcomes of a dice?

2274


What is the difference between %d and %i?

1040