insert into article values(sequence.nextval,startId)
我想请问,如何批量插入?
...全文
37889打赏收藏
oracle 的nextval函数
我的数据库里有一张表(article),格式如下 id int startId int 其中id设置了sequence为自增字段,我在通过jdbc插入的时候采用如下语句: insert into article values(sequence.nextval,startId) 我想请问,如何批量插入?