postgreSQL 字段如何設置自增加

postgreSQL 自增須要使用序列post 1.使用SERIALcode     CREATE TABLE userstable (im id SERIAL primary key ,next name character varying,word password character varyingtab )co 自動建立名爲users_id_seq的序列,且MAXVALUE=9223372
相關文章
相關標籤/搜索