Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^3: An improved technique for database primary keys

by herveus (Parson)
on Nov 08, 2010 at 15:55 UTC ( #870134=note: print w/replies, xml ) Need Help??


in reply to Re^2: An improved technique for database primary keys
in thread An alternate technique for database primary keys

Howdy!

...and you describe exactly the kind of situation where a surrogate key becomes necessary.

I simply object to the terminology which implies that primary keys are, necessarily, opaque values stored in a single column. Changing the title to refer to surrogate keys would fix that.

yours,
Michael
  • Comment on Re^3: An improved technique for database primary keys

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://870134]
help
Chatterbox?
[ovedpo15]: If I use "unless(opendir(my $dir, $test_dir))" why does it give me error "Global symbol "$dir" requires explicit package name at" if I used "my"? If I use my $dir before the opendir it works.. but why?

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2018-04-22 15:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?