IMHO GUIDS suck if people ever have to use them, how do you like enteringthe
Jay replied to morphius
20-Nov-09 09:19 AM
IMHO GUIDS suck if people ever have to use them, how do you like entering
the Microsoft key when you do an install?
You just need a two-part key
work_order_origin char(5),
work_order_number identity (1,1)
If the work_order_number is incremental, I would expect the composite
Dan Guzman replied to morphius
20-Nov-09 11:13 PM
If the work_order_number is incremental, I would expect the composite key
approach to perform better than a single random GUID. You'll get less
fragmentation and better locality of reference. It will be a closer call if
you assign uniqueidentifier values using NEWSEQUENTIALID.
--
Hope this helps.
Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/