X-Received: by 10.182.45.138 with SMTP id n10mr33111208obm.4.1439429173684; Wed, 12 Aug 2015 18:26:13 -0700 (PDT) X-Received: by 10.182.142.2 with SMTP id rs2mr165043obb.21.1439429173622; Wed, 12 Aug 2015 18:26:13 -0700 (PDT) Path: csiph.com!goblin1!goblin.stu.neva.ru!proxad.net!feeder1-2.proxad.net!209.85.213.216.MISMATCH!se8no2948585igc.0!news-out.google.com!o13ni14403igw.0!nntp.google.com!pg9no9347405igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: microsoft.public.sqlserver.programming Date: Wed, 12 Aug 2015 18:26:13 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2602:306:bcf4:c240:3db8:1364:efe6:a019; posting-account=eTE9_AoAAAD1dS9O9Ccywd_vfKFzS40A NNTP-Posting-Host: 2602:306:bcf4:c240:3db8:1364:efe6:a019 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <122678eb-cdfc-4e2b-82b6-e43945887545@googlegroups.com> Subject: Re: Unique Constraint Based on Dual GUID From: --CELKO-- Injection-Date: Thu, 13 Aug 2015 01:26:13 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: csiph.com microsoft.public.sqlserver.programming:31272 You missed my point! GUIDs are not for keys; they are locators for external= global resources. This guy wants to use them for pointers like we did in t= he 1970'd network databases.=20 If you use an actual compound key (a,b), then either they are drawn from tw= o different domains that are independent (longitude, latitude), two differe= nt domains that are dependent (clothing size, colors), or the same domain (= first color and second color). In the final case, the constraint (a < b) pr= events (b,a), (a,a), and (b,b) Which means that the two-tone clothing item = is only shown one way and really has two tones to it.