java怎么查看oracle sequences生成的当前id

2024-12-19 14:31:29
推荐回答(4个)
回答1:

select sequences.nextval from dual 这个值就是你没插进去的ID

回答2:

select sequences.nextval from dual;

回答3:

select sequences.currval from table;

回答4:

se.currval