MySQL 简易序列 2014/11/21 15472 DROP TABLE IF EXISTS Sequence; CREATE TABLE Sequence ( name VARCHAR(32), maxIndex INTEGER, CONSTRAINT cst_Sequence_pk PRIMARY KEY (name, maxIndex) ) DEFAULT CHARACTER SET utf8 ENGINE InnoDB;