|
|
|
|
|
by carterehsmith
2993 days ago
|
|
So this is true, but I find that it does not matter much. Like, how often one needs to rollback a DDL statement? I did that like... never. And, what is the use case? Like, you added a column to a table by accident? Well, that will not break anything, so no harm done. That is way different from regular dml rollback which may recover 1bn records and save your life :) |
|
For example, you had a "color" column on a table, for a new feature youre now adding the ability to have multiple colors. You're going to create a new column, create a new table, populate that table, and drop the old column. If anything fails during that process you'd like to be able to roll back.