Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Class::DBI and DB design

by v_thunder (Scribe)
on Jun 06, 2003 at 17:32 UTC ( #263788=note: print w/ replies, xml ) Need Help??


in reply to Re: Class::DBI and DB design
in thread Class::DBI and DB design

I was under the impression that a primary key was equivalent to "unique not null", and indexed. In the user_login case the uid would not be unique, since there would be multiple rows with the same uid, one for each login from the same user.

Am I wrong here? Can I really use uid as the primary key in that example?


Comment on Re: Re: Class::DBI and DB design
Re: Re: Re: Class::DBI and DB design
by edoc (Chaplain) on Jun 06, 2003 at 17:46 UTC

    ahhh.. doh.. thought I must've be missin something.. maybe I didn't need that extra beer..

    cheers,

    J

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://263788]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (8)
As of 2015-07-06 10:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (72 votes), past polls