下面给出ORACLE的一种实现方式,要分2步走: 1. 建立 SEQUENCE CREATE [ OR REPLACE ] SEQUENCE sequence_identity START WITH initial seed INCREMENT BY step MAXVALUE upper bound [NOMAXVALUE] NOCYCLE [empty] 2. 建立 TRIGGER CREATE [ OR REPLACE ] TRIGGER trigger_identity BEFORE I