oracle中insert时使用序列   

   创建序列 
   create sequence emp_seq 
   increment by 1 
   start with 1 
   nomaxvalue 
   nocycle 
   cache 10 
   
   引用序列 
   insert into emp 
   values(emp_seq.nextval)

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2023-03-20
  • 2021-05-05
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-04-23
  • 2021-12-28
  • 2022-12-23
相关资源
相似解决方案