本文介绍了我想创建序列生成器,它在oracle中删除旧的序列生成器后生成新值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 假设我创建了生成500个值的序列生成器,然后如果我删除它并重新创建它,我怎么知道它从501生成序列。 我尝试了什么: 假设我创建了生成500个值的序列生成器,然后如果我删除它并重新创建它我怎么知道它从501生成序列。解决方案 因此,您必须将值(500)存储在一些额外的表或设置表中,并在重新生成之前将其读取 Suppose I created the sequence generator which generates 500 values,then if I drop it and recreate it how I can know that it generates sequence from 501.What I have tried:Suppose I created the sequence generator which generates 500 values,then if I drop it and recreate it how I can know that it generates sequence from 501. 解决方案 For that reason you must store your value (500) in some extra table or a settings table and read it before re-generating. 这篇关于我想创建序列生成器,它在oracle中删除旧的序列生成器后生成新值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!