[MonetDB-users] DROP TABLE IF EXISTS <table>;
30 Mar
2011
30 Mar
'11
11:32 a.m.
Hello,
I want to prevent an SQLException from occurring for tables that do not exist in my database. For example: sql>DROP TABLE "locked"; SQLException:sql.catalog:DROP TABLE: no such table 'locked'
It seems (and is documented) that there is no such thing like "IF EXISTS" in MonetDB. Is there a way to circumvent the SQLException?
Mike
4784
Age (days ago)
4784
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michael Sioutis