oracle从1到10生成顺序号,脚本案例如下:

  select 'ABAB'|| lpad(level,5,0)  as serial_no
  from dual
  connect by level<=10

  

 posted on 2022-07-13 10:43  dianli  阅读(1110)  评论(0编辑  收藏  举报