How can I reset an MySQL AutoIncrement using a MAX value from another table?(如何使用另一个表中的 MAX 值重置 MySQL AutoIncrement?)
问题描述
我知道这行不通.我以各种形式尝试过,但每次都失败了.实现以下结果的最简单方法是什么?
I know this won't work. I tried it in various forms and failed all times. What is the simplest way to achieve the following result?
这非常适合自动化项目.
This is great for automation projects.
推荐答案
使用 准备语句:
这篇关于如何使用另一个表中的 MAX 值重置 MySQL AutoIncrement?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!