[
https://issues.apache.org/jira/browse/DERBY-4842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16264302#comment-16264302
]
Lukas Eder commented on DERBY-4842:
-----------------------------------
This would be really useful. PostgreSQL and MySQL went quite far with such
support. This doesn't just extend to tables, but to any object:
* DROP <object> [ IF EXISTS ]
* ALTER <object> [ IF EXISTS ] ...
* ALTER <table> [ IF EXISTS ] ADD <column> [ IF NOT EXISTS ]
* ALTER <table> [ IF EXISTS ] DROP <column> [ IF EXISTS ]
* CREATE <object> [ IF NOT EXISTS ]
> Support "IF [NOT] EXISTS" in CREATE TABLE and "IF EXISTS" in DROP TABLE
> -------------------------------------------------------------------------
>
> Key: DERBY-4842
> URL: https://issues.apache.org/jira/browse/DERBY-4842
> Project: Derby
> Issue Type: Improvement
> Components: SQL
> Reporter: Adrian Tarau
> Labels: derby_triage10_10
>
> It would be really great if Derby will support these additions similar with
> what MySQL has.
> Also a way to disable constraints when dropping the whole database, so you
> would not be forced to put DROPs in such an order that constraints will not
> fail.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)