ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry ’1′ for key
for in Table Key Auto Duplicate ALTER entry
2023-09-14 08:59:25 时间
问题:表中存在主键为0的一条数据。
解决:把主键为0的这条数据的值(主键id=0)改为其他不重复的值即可。
然后在修改自动递增。
相关文章
- Scheduling Algorithms for Multiprogramming in a Hard-Real-Time Environment
- ORA-00379: no free buffers available in buffer pool string for block size stringK ORACLE 报错 故障修复 远程处理
- ORA-24274: no row exists in the string table for these parameters ORACLE 报错 故障修复 远程处理
- ORA-25189: illegal ALTER TABLE option for an index-organized table ORACLE 报错 故障修复 远程处理
- ORA-25451: too many attribute values for variable: string ORACLE 报错 故障修复 远程处理
- ORA-26058: unexpected error fetching metadata for column string in table string ORACLE 报错 故障修复 远程处理
- ORA-29982: Table type not supported for query registration in guaranteed mode ORACLE 报错 故障修复 远程处理
- ORA-56934: database property DST_UPGRADE_STATE for datapump job is in an inconsistent state ORACLE 报错 故障修复 远程处理
- ORA-14137: Table in partially dropped state, submit DROP TABLE PURGE ORACLE 报错 故障修复 远程处理
- ORA-14605: Name missing for subpartition / lob segment in template ORACLE 报错 故障修复 远程处理
- MySQL Error number: MY-013523; Symbol: ER_TABLE_NAME_IN_UPPER_CASE_NOT_ALLOWED_FOR_FK; SQLSTATE: HY000 报错 故障修复 远程处理
- MYSQL之You can’t specify target table for update in FROM cla详解数据库
- in Neo4j查询:使用Not In操作(neo4j查询not)
- MySQL中实现嵌套查询的IN关键字用法(mysql嵌套查询in)
- MySQL中使用IN子查询的技巧(mysql子查询in)
- 子查询MySQL联表IN子查询:实现跨表快速查询(mysql联表in)
- MSSQL条件查询IN机制优化技巧(mssql条件查询in)
- Oracle中IN与OR运算实现多条件查询的最佳选择(oracle中in与or)
- 利用Oracle中的If In语句减少数据处理时间(oracle中if in)
- 遍历Oracle中用For反向遍历字符串的简单示例(oracle中for反向)
- 与Oracle中的FOR语句实现数据删除(oracle中for删除)