1022 - Can't write; duplicate key in table '#sql-1500_26'
2015-05-16 13:40
561 查看
今天用powerdesigner修改了一些外键关系,有两个外键的名字取一样的,忘记改了。然后在用navicat运行sql文件时,报出[Err] 1022 - Can't write; duplicate key in
table '#sql-1500_26'的错误。
1022错误代码意味着:关键字重复,更改记录失败。
仔细一看表之间的各种,果然有两个外键命名一致,改了之后重新运行就通过了。
table '#sql-1500_26'的错误。
1022错误代码意味着:关键字重复,更改记录失败。
仔细一看表之间的各种,果然有两个外键命名一致,改了之后重新运行就通过了。
相关文章推荐
- [Err] 1022 - Can't write; duplicate key in table '#sql-1500_26'
- 【mysql】【报错】Mysql外键名重复的错误:duplicate key in table '#sql-*'
- 1022 can't write duplicate key in table #‘sql_XXXXX’
- 1022-Cant't write;duplicate key in table '#sql-b60_c'
- 数据库报错:1022: Can't write; duplicate key in table
- mysql 创建外键时 提示 [Err] 1022 - Can't write; duplicate key in table '***'
- mysql报错Error Code: 1022. Can't write; duplicate key in table `xxx`
- mysql 错误 Can't write; duplicate key in table
- Incorrect key file for table '/tmp/#sql_15cc_14.MYI'; try to repair it
- MySQL --- SQL Error: 1062: Duplicate entry '2147483647' for key 'PRIMARY'
- ERROR 126 (HY000): Incorrect key file for table '/tmp/#sql_1d87_0.MYI'; try to repair it
- mysql -- error code [1442]; Can't update table 'table_name' in stored function/trigger because it is already used by statement w
- The table '#sql-fb5_190a57' is full Operation failed
- Warning: can't write resource [META-INF/MANIFEST.MF] (Duplicate zip entry [activation.jar:META-INF/M
- MySQL报错“ you can't specify the target table for ‘update’ in from clause”
- 移动文章分类的sql语句,查询并更新同一个表的方法 You can't specify target table 'news_articles' for update in FROM clause
- After restoring database in SQL Server, if you can't use diagram, execute these sentences
- hive java.sql.SQLException: Table/View 'PARTITION_STATS_V2' already exists in Schema 'APP'.
- 读取Mysql数据表的错误 Can,create/write to file 'E:/temp/TEMP/#sql_9c4_0.MYI' Errcode:2
- Cannot insert duplicate key row in object 'dbo.DependencyNodeBase' with unique index 'ndx_Dependency