Recommendations on using SQL Server GUID from MS Access

前端 未结 2 1704
囚心锁ツ
囚心锁ツ 2020-12-21 20:29

I\'m upsizing an existing MS Access backend to SQL Server 2008 and, because we want to use SQL Server Merge replication, I\'ll have to change all current primary keys (curre

2条回答
  •  星月不相逢
    2020-12-21 21:00

    This may be slightly off-topic. However, you do not HAVE to use GUIDs to do merge replication. You can still use your auto-increment integers and allocate different ranges to different database instances. This way rows with identical IDs will not be generated.

    Also, there is only one GUID type field in SQL 2008 - uniqueidentifier

提交回复
热议问题