GUID是如何内部存储的,并通过SQL进行比较(尤其是MS SQL Server 2008)?它是一个数字还是字符串?另外,使用GUID作为主键时性能会不会很高?什么数据类型是SQL服务器中的GUID?
除了与集群这里提到的问题: What are the best practices for using a GUID as a primary key, specifically regarding performance?
我觉得应该是128位数字(如描述here),但我不能找到它是如何在SQL服务器中实现模式的详细信息。
http://stackoverflow.com/questions/6945878/how-is-a-guid-actually-stored-and-sorted-compared-in-sql-server – bummi 2013-05-13 11:39:43
谢谢,我错过了,不知何故......。 – 2013-05-13 11:48:25