Files
HeidiSQL/extra/jheidi/dropField$mysql.ajl

10 lines
244 B
Plaintext

WindowContext context = argObj("windowContext");
String field = arg("fieldToDrop");
DB db = context.get("db");
db.execute("alter table `" + context.get("currentDB") + "`.`" + context.get("currentTable") + "` drop column `" + field + "`");