Is Guid the best identity datatype for Databases?

前端 未结 8 1871
眼角桃花
眼角桃花 2020-12-24 09:13

It is connected to BI and merging of data from different data sources and would make that process more smooth.

And is there an optimal migration strategy from a data

8条回答
  •  醉酒成梦
    2020-12-24 09:48

    I used to not like GUID at all, but I've grown to love it. I love it because it is relatively uniform and adopted, and I end up writing less code by using it, and maintaining that code, than I would normally write and maintain.

    It is especially useful for storage of files, where you need to guarantee that a filename is unique, in a directory with a potentially large number of files, including pre-existing files.

提交回复
热议问题