The jOOQ User Manual : SQL building : SQL Statements (DDL) : The ALTER statement : ALTER INDEX | previous : next |
ALTER INDEX
Applies to ✅ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
The only property of an index that can be changed, currently, is its name. In order to alter an index's name, use:
// Renaming the index create.alterIndex("old_index").renameTo("new_index").execute();
Feedback
Do you have any feedback about this page? We'd love to hear it!