Different between drop table and drop …
CBSE, JEE, NEET, CUET
Question Bank, Mock Tests, Exam Papers
NCERT Solutions, Sample Papers, Notes, Videos
Posted by Devananda Sabar 4 years, 6 months ago
- 1 answers
Related Questions
Posted by Syedali Fathima 5 months, 3 weeks ago
- 1 answers
Posted by Manoj Kumar Manoj Kumar 7 months, 2 weeks ago
- 0 answers
Posted by Priya Shukla 5 months, 3 weeks ago
- 1 answers
Posted by Prawar Narang 6 months, 2 weeks ago
- 1 answers
Posted by Hanni Pham 4 months, 1 week ago
- 0 answers
Posted by Hanni Pham 4 months, 1 week ago
- 1 answers
Posted by Kandeepan Jothivel 6 months, 3 weeks ago
- 2 answers
myCBSEguide
Trusted by 1 Crore+ Students
Test Generator
Create papers online. It's FREE.
CUET Mock Tests
75,000+ questions to practice only on myCBSEguide app
Yogita Ingle 4 years, 6 months ago
Alter is used to modify an existing table, like adding a row or column. Alter preserves the existing data. Example, deleting a column won't affect the data in the other columns. Changing a column datatype will result in conversion of existing data, which may result in data loss when there are errors such as overflows, under flows, or integrity constraint violations.
Drop is used to remove a table completely. You can drop and then recreate a table, but you will lose all the data it. If that's an issue, then Alter is the preferred solution. However, not all changes you might want to a table definition can be done with Alter, so your only option might be to drop/create.
0Thank You