阅读背景:

sql server将PK类型从int更改为uniqueidentifier

来源:互联网 

I need to change the type of my primary key column on a table from int to guid. The database already has data that I don't want to lose, and there are foreign keys to consider. Is there a painless way to do this or do I have to manually do it through a big a** script?:) I would appreciate any suggestionsI need to change the type of my primary key col




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: