1075 Incorrect table definition; there can be only one auto column and it must be defined as a key

 

 

用pd生成的Sql文件去NF执行 提示

075 Incorrect table definition; there can be only one auto column and it must be defined as a key

原来只要主键才能设置自增切只有一个

于是两个主键重新设置:先设置自增的为主键后设置另一个为主键  问题解决

 

 

posted @ 2021-04-11 20:46  欧阳小金  阅读(435)  评论(0)    收藏  举报