摘要: Postgresql 有以下三种方法设置主键递增的方式,下面来看下相同点和不同点。--方法一create table test_a( id serial, name character varying(128), constraint pk_test_a_id primary key( id));NOTICE: CREATE TABLE will create implicit sequence "test_a_id_seq" for serial column "test_a.id"NOTICE: CREATE TABLE / PRIMARY KEY 阅读全文
posted @ 2013-05-08 14:07 hold su 阅读(504) 评论(0) 推荐(0) 编辑