摘要:
-- create partition function CREATE PARTITION FUNCTION partRange1 (INT) AS RANGE LEFT FOR VALUES (10, 20, 30) ; GO -- create partition scheme CREATE PARTITION SCHEME partScheme1 AS PARTITION partRange... 阅读全文
摘要:
序列对象产生整个数据库的一个唯一值。跟标识列不一样的是,序列独立于数据表:CREATE TABLE t1 (salary int)CREATE SEQUENCE myseq START WITH 10 INCREMENT BY 1 NO CYCLEINSERT INTO t1 VALUES (nextval for myseq)INSERT INTO t1 VALUES (nextval for ... 阅读全文