君心浅语

关注

To change the IDENTITY property of a column, the column needs to be dropped and recreated

君心浅语

关注

阅读 142

2023-03-04


To change the IDENTITY property of a column, the column needs to be dropped and recreated

自己修改了下主键。结果报错

Dotnet Core 


解决方法是:

删掉 

To change the IDENTITY property of a column, the column needs to be dropped and recreated_解决方法

还有数据库里的:

To change the IDENTITY property of a column, the column needs to be dropped and recreated_数据库_02

然后重新生成一下就好了

相关推荐

幸甚至哉歌以咏志

1833 -Cannot change column ‘DEPTNO‘: used in a foreign key constraint ‘...‘ of table ‘...‘

幸甚至哉歌以咏志 112 0 0

秀儿2020

@Column @Basic

秀儿2020 128 0 0

秀儿2020

postgres column reference

秀儿2020 64 0 0

转角一扇门

rename column of oracle

转角一扇门 40 0 0

小贴贴纸happy

mysql comment on column

小贴贴纸happy 68 0 0

fbd4ffd0717b

flutter之Column

fbd4ffd0717b 158 0 0

Python百事通

flutter widget -- Column

Python百事通 194 0 0

Fifi的天马行空

Invalid column name id

Fifi的天马行空 172 0 0

王小沫

JPA的@Column注解

王小沫 87 0 0

老王420

Hibernate column属性简介

老王420 33 0 0

精彩评论(0)

0 0 举报