In the interests of continuing our fine discussions of individual preferences towards database development, what is your preference for the primary key data type? GUID or int IDENTITY?
I prefer IDENTITY, only because it allows me to read back the data later easily. I have seen many requests for data and being able to quickly get and read that ID is nice for me...
I like identity because it also definitively nails down row insert order. And if I ever have to do ad-hoc queries of my database it sure is easier to type
[blue]WHERE ID = 3127492418[/blue]
than
[blue]WHERE ID = '{FB6BA828-E616-11D1-8D27-00AA00B5BADA}'[/blue].
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.