Hi, I have a bunch of sql scripts that create / drop sequences, users and other objects. I'm running these scripts through liquibase, but they fail because oracle complains when I try to drop a non existing sequence, or create an existing user.
Is there an oracle way to prevent errors from happening?
Something of the sort
Create User / Sequence if not exists
Drop User/ Secuence if exists
As far as I know, I have these options:
- Write a plsql script
- Use liquibase contexts.
- Use liquibase preconditions, but this would mean too much work.
Any thoughts / ideas will be greatly appreciated.