Thursday, October 9, 2008

Primary Keys: IDs versus GUIDs.



http://www.codinghorror.com/blog/archives/000817.html

NEWSEQUENTIALID: Creates a GUID that is greater than any GUID previously generated by this function on a specified computer. NEWSEQUENTIALID() can only be used with DEFAULT constraints on table columns of type uniqueidentifier.





No comments:

Post a Comment