MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/a2c4gg/quality_assurance/eax8syz/
r/ProgrammerHumor • u/Portaller • Dec 02 '18
656 comments sorted by
View all comments
Show parent comment
6
Correct me if this is out of date, but don't most common SQL implementations force a commit when you execute a Drop, so the rollback wouldn't even matter?
9 u/ric2b Dec 02 '18 PostgreSQL doesn't 1 u/[deleted] Dec 02 '18 This is correct for Oracle, at least. I think it's the same for all DDL statements on Oracle DBs. 1 u/indigo121 Dec 02 '18 I believe the most recent version or Oracle supports some DDL in transactions. MySQL doesn't allow any DDL in transactions. 1 u/thedr0wranger Dec 02 '18 Possibly, I only work in MySQL day to day but I was speaking generally to the reasoning behind the comment.
9
PostgreSQL doesn't
1
This is correct for Oracle, at least. I think it's the same for all DDL statements on Oracle DBs.
1 u/indigo121 Dec 02 '18 I believe the most recent version or Oracle supports some DDL in transactions. MySQL doesn't allow any DDL in transactions.
I believe the most recent version or Oracle supports some DDL in transactions. MySQL doesn't allow any DDL in transactions.
Possibly, I only work in MySQL day to day but I was speaking generally to the reasoning behind the comment.
View all comments
Show parent comment
6
u/indigo121 Dec 02 '18
Correct me if this is out of date, but don't most common SQL implementations force a commit when you execute a Drop, so the rollback wouldn't even matter?