時(shí)間:2024-02-07 12:09作者:下載吧人氣:23
序列綁定字段與不綁定字段的區(qū)別
drop sequence if exists test_id_seq;
create sequence test_id_seq;
drop table if exists test;
create table test(id int default nextval(‘test_id_seq’), name text);
alter sequence test_id_seq owned by test.id;
網(wǎng)友評論