ponjavic
- 221
- 0
Isn't possible to delete and remove columns after a table has been created?
Rows works just fine but columns don't...
Rows works just fine but columns don't...
The discussion centers around the ability to remove columns from a database table after its creation, exploring the implications and methods of doing so within SQL, particularly in MySQL. The conversation touches on theoretical and practical aspects of database schema management.
Participants exhibit disagreement regarding the appropriateness and implications of removing columns from a table after creation. While some acknowledge the technical feasibility, others caution against the practice, indicating a lack of consensus on the best approach.
Participants highlight that the ability to delete columns may depend on existing constraints and the specific SQL dialect being used, indicating potential limitations in the discussion.
so-crates said:You can, but its not considered a good thing to do, except possibly when prototyping. This is because you are altering your schema, which shouldn't happen. Would you want to alter the form of a data structure at runtime?