/** {@inheritDoc} */ @Override public Index getPrimaryKey() { return innerTable().getPrimaryKey(); }
Index idx = targetTable.getPrimaryKey(); if (idx == null) { throw DbException.get(ErrorCode.CONSTRAINT_NOT_FOUND_1, "PRIMARY KEY");
Index idx = table.getPrimaryKey(); if (idx == null) { throw DbException.get(ErrorCode.CONSTRAINT_NOT_FOUND_1, "PRIMARY KEY");
Index refIdx = refTable.getPrimaryKey(); refIndexColumns = refIdx.getIndexColumns(); } else {
return new NoOperation(session); Index idx = table.getPrimaryKey(); DropIndex command = new DropIndex(session, schema); command.setIndexName(idx.getName());
/** {@inheritDoc} */ @Override public Index getPrimaryKey() { return innerTable().getPrimaryKey(); }
session.getUser().checkRight(table, Right.UPDATE); if (keys == null) { Index idx = table.getPrimaryKey(); if (idx == null) { throw Message.getSQLException(ErrorCode.CONSTRAINT_NOT_FOUND_1, "PRIMARY KEY");
Index idx = table.getPrimaryKey(); if (idx == null) { throw DbException.get(ErrorCode.CONSTRAINT_NOT_FOUND_1, "PRIMARY KEY");
Index idx = table.getPrimaryKey(); if (idx == null) { throw DbException.get(ErrorCode.CONSTRAINT_NOT_FOUND_1, "PRIMARY KEY");
Index idx = table.getPrimaryKey(); if (idx == null) { throw DbException.get(ErrorCode.CONSTRAINT_NOT_FOUND_1, "PRIMARY KEY");
Index idx = table.getPrimaryKey(); if (idx == null) { throw DbException.get(ErrorCode.CONSTRAINT_NOT_FOUND_1, "PRIMARY KEY");
Index refIdx = refTable.getPrimaryKey(); refIndexColumns = refIdx.getIndexColumns(); } else {
Index refIdx = refTable.getPrimaryKey(); refIndexColumns = refIdx.getIndexColumns(); } else {
Index refIdx = refTable.getPrimaryKey(); refIndexColumns = refIdx.getIndexColumns(); } else {
} else if (readIf("PRIMARY")) { read("KEY"); Index idx = table.getPrimaryKey(); DropIndex command = new DropIndex(session, table.getSchema()); command.setIndexName(idx.getName());
return new NoOperation(session); Index idx = table.getPrimaryKey(); DropIndex command = new DropIndex(session, schema); command.setIndexName(idx.getName());
return new NoOperation(session); Index idx = table.getPrimaryKey(); DropIndex command = new DropIndex(session, schema); command.setIndexName(idx.getName());