Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase 12»»

Prime Attributes Expand / Collapse
Author
Message
Posted Tuesday, October 11, 2011 9:46 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Yesterday @ 9:57 AM
Points: 7,801, Visits: 9,551
Comments posted to this topic are about the item Prime Attributes

Tom
Post #1188858
Posted Wednesday, October 12, 2011 12:36 AM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Today @ 3:58 AM
Points: 4,023, Visits: 5,320
Interesting question, Tom
Thanks, really got the grey matter working on this one.


____________________________________________
Space, the final frontier? not any more...
All limits henceforth are self-imposed.
“libera tute vulgaris ex”
Post #1188893
Posted Wednesday, October 12, 2011 5:26 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Tuesday, August 27, 2013 4:28 AM
Points: 1,248, Visits: 779
Great question Tom, I can say that as I surprised myself by getting the right answer

_____________________________________________________________________
"The difficult tasks we do immediately, the impossible takes a little longer"
Post #1189027
Posted Wednesday, October 12, 2011 6:27 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Wednesday, August 28, 2013 7:06 AM
Points: 1,216, Visits: 308
It is very good question. I was sure about the half part. Got to revise lots of things.

Basics matter!!

Best Regards,
Sudhir
Post #1189060
Posted Wednesday, October 12, 2011 6:35 AM


SSCarpal Tunnel

SSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal TunnelSSCarpal Tunnel

Group: General Forum Members
Last Login: Today @ 4:29 AM
Points: 4,420, Visits: 10,730
Darn! I don't know why, but I checked "has a different value on each row".
Nice question, Tom.


--
Gianluca Sartori

How to post T-SQL questions
spaghettidba.com
@spaghettidba
Post #1189067
Posted Wednesday, October 12, 2011 7:43 AM
Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: 2 days ago @ 1:49 AM
Points: 1,356, Visits: 492
Hmmmm.
I used the same source (http://en.wikipedia.org/wiki/Database_normalization) i hope (because the link provided on the result page isn't existing), and there is a definition: A prime attribute, conversely, is an attribute that does occur in any candidate key.

But is it wrong then?
Post #1189136
Posted Wednesday, October 12, 2011 8:51 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, January 31, 2013 8:53 AM
Points: 1,176, Visits: 778
Thanks Tom. (open up QotD and knew immediately who wrote it! )

After your question last week I did some revision so was a little better prepared to tackle this one today. Certainly making me flex the ol' brain in areas that are not as regularly flexed!
Post #1189220
Posted Wednesday, October 12, 2011 8:58 AM


Ten Centuries

Ten CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen CenturiesTen Centuries

Group: General Forum Members
Last Login: Thursday, January 31, 2013 8:53 AM
Points: 1,176, Visits: 778
palotaiarpad (10/12/2011)
Hmmmm.
I used the same source (http://en.wikipedia.org/wiki/Database_normalization) i hope (because the link provided on the result page isn't existing), and there is a definition: A prime attribute, conversely, is an attribute that does occur in any candidate key.

But is it wrong then?


The context here is that Non-Prime attribute does not occur in any candidate key, so CONVERSELY, a PRIME attribute does occur in any [but not all] candidate keys

The statement is correct, however the WIKI definition could certainly be worded a little better...
Post #1189228
Posted Wednesday, October 12, 2011 9:11 AM


SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Monday, October 13, 2014 12:36 PM
Points: 2,010, Visits: 10,967
Too bad half right doesn't count for anything...

Good question, Tom!


Rob Schripsema
Accelitec, Inc
Post #1189236
Posted Wednesday, October 12, 2011 9:34 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Tuesday, October 14, 2014 10:58 AM
Points: 5,333, Visits: 25,272
Nice question. Took much too long to shake the cobwebs out of my brain.

If everything seems to be going well, you have obviously overlooked something.

Ron

Please help us, help you -before posting a question please read

Before posting a performance problem please read
Post #1189256
« Prev Topic | Next Topic »

Add to briefcase 12»»

Permissions Expand / Collapse