oracle数据库中字段默认取系统当前的时间

如题所述

1.想自动加1有两种方法1)使用sequence,每次插入时显式的写xx.nextvalcreate
sequence seq1;insert into orderform
values(seq1.nextval,1,sysdate,'a');2)使用ins
温馨提示:答案为网友推荐,仅供参考