Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^9: Avoiding SQL double jeopardy

by Pope-O-Matik (Pilgrim)
on Jun 29, 2015 at 21:01 UTC ( [id://1132528]=note: print w/replies, xml ) Need Help??


in reply to Re^8: Avoiding SQL double jeopardy
in thread Avoiding SQL double jeopardy

Someone could change the topic they offer each week

If the same topic comes up twice, would it have the same spelling and case?

it's quite likely that visitors will take part in sessions

That answers that right there. :)

Email addresses are stored in the People database as an ID, but can be changed. The auto incremented internal ID is the "authoritative" identifier in the system.

One reason to sue an email address or the like is so the FKs make sense. No reason to hide information behind a number. As people may have the same name, ids are usually used, but a company email address or the like can help it be more meaningful.

Regardless, i posted some tables and a view below that might help. If you like the approach but want a small change or two, please just say so!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2024-04-24 12:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found