String sequenceName = readIdentifierWithSchema();
Sequence sequence = getSchema().getSequence(sequenceName);
if (readIf("NEXT")) {
readIf("VALUE");
readIf("MARGIN");
return new AlterSequenceNextValueMargin(session, sequence.getSchema(), sequence);
}
AlterSequence command = new AlterSequence(session, sequence.getSchema());
command.setSequence(sequence);
if (readIf("RESTART")) {
read("WITH");