Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server naming conventions
Message
From
13/07/2005 16:47:47
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
13/07/2005 16:41:38
General information
Forum:
ASP.NET
Category:
Databases
Environment versions
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01031553
Message ID:
01032409
Views:
20
>>PKs are used to enforce referential integrity so they only have to be unique. Where they are generated is a different issue. Right?
>
>I guess that's a matter of opinion.

They are clearly two different tasks, but I'll let you off the hook. ;) Here's some food for thought, though. If natural keys are used they certainly would exceed 16 bytes after a child table. So guids are better than natural keys even for joins.

Here's a way to offset some of the performance issues.

http://www.informit.com/articles/article.asp?p=25862

Thanks for your time!

>
>>
>>Integer performance is good, but why does SQL's newid function generate guids?
>
>That's a question for the SQL Server team.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform