如何连续制作主键? [英] How to make primary key serially?
本文介绍了如何连续制作主键?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
假设我的表中有 20 行,现在我删除了最后 4 行.下一次我插入了 2 行,然后是主键号.将
suppose i have 20 rows in my table , now i deleted last 4 rows . At the very next time I inserted 2 more rows then the primary key no. will be
1,2,3...16,21,22.
有没有办法恢复那个键,意味着任何方法都可以将行存储在 16 的下一个位置,结果将是
Is there any way to restore that key , means any way to store the row at very next of 16 and the result will be
1,2,3...16,17,18
推荐答案
你不需要这个.只要相信我!
You don't need this. Just believe me!
这篇关于如何连续制作主键?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文