阅读背景:

SQL Server:恢复时避免GUID重新生成?

来源:互联网 

I have a table in which the primary key is a GUID with a default of NewID. If the PK column had a value of XYZ when I backed it up, I would expect XYZ in the restored table. In fact I get PQR (well the GUID equivalent). It looks like the GUID gets regenerated on restore. Is this in fact happening (it seems a little crazy), and if so, how can it be avoided?I have a table in which the primary key is a GU




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

分享到: