Home > database >  Insert failed, still on the primary key growth, how to solve?
Insert failed, still on the primary key growth, how to solve?

Time:01-22

Table structure: the primary key, C1, C2 and C3
The C1 and C2 is a primary key

When the insert C1 and C2 joint primary key, still on the primary key growth,

In addition to select whether there have been a C1 and C2, then insert

Are there any other way?

CodePudding user response:

If you have a continuity business required, then don't use the increase since you can't control, and to a mysql control, but now the mysql is no problem on the discontinuous.
  • Related