make mysql and oracle specific

This commit is contained in:
servertood
2008-12-29 19:59:29 +00:00
parent 2b49a3bfa3
commit 917535e95f
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
WindowContext context = argObj("windowContext");
String table = arg("tableToDrop");
DB db = context.get("db");
db.execute("drop table `" + context.get("currentDB") + "`.`" + table + "`");
db.flushStatement("show tables from `" + context.get("currentDB") + "`");

View File

@@ -0,0 +1,11 @@
WindowContext context = argObj("windowContext");
String table = arg("tableToDrop");
DB db = context.get("db");
db.execute("drop table " + context.get("currentDB") + "." + table);
db.flushStatement("select * from all_tables where owner=upper('" + context.get("currentDB") + "')");