aboutsummaryrefslogtreecommitdiff
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/driver.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/view/driver.cxx b/view/driver.cxx
index b0b6c4a..5e6a131 100644
--- a/view/driver.cxx
+++ b/view/driver.cxx
@@ -36,14 +36,7 @@ main (int argc, char* argv[])
#ifndef DATABASE_ORACLE
db->execute ("DROP TABLE view_employee_extra");
#else
- db->execute ("BEGIN "
- " EXECUTE IMMEDIATE "
- " 'DROP TABLE \"view_employee_extra\" "
- " CASCADE CONSTRAINTS';"
- " EXCEPTION "
- " WHEN OTHERS THEN "
- " IF SQLCODE != -942 THEN RAISE; END IF;"
- "END;");
+ db->execute ("DROP TABLE \"view_employee_extra\"");
#endif
t.commit ();
}