DB2 創建並使用SEQUENCE

1. 創建SEQUENCE CREATE SEQUENCE "SCHEMA"."SEQ_USER_ID" AS BIGINT START WITH 1 INCREMENT BY 1 NO MINVALUE NO MAXVALUE NO CYCLE CACHE 20 NO ORDER 2. 使用SEQUENCE User表結構如下: CREATE TABLE USER ( USER_ID
相關文章
相關標籤/搜索