What's the difference between DELETE TABLE and TRUNCATE TABLE
commands?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / kalyan
truncate table means structure of table cannot deleted but
it deletes the data in the table. And Delete command deletes
the entire table with data.
| Is This Answer Correct ? | 1 Yes | 0 No |
How are structure passing and returning implemented?
Explain what is meant by 'bit masking'?
Why is extern used in c?
What are the different types of control structures in programming?
Explain union. What are its advantages?
write a program of bubble sort using pointer?
What are linker error?
What is a stream?
What are the benefits of organizational structure?
the number of measuring units from a arbitrary starting point in a record area or control block to some other point a) branching b) recording pointer c) none d) offset
What is #line in c?
how write a addtion of two single dimensional array using of pointer in c language?