Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

Re^6: Perl DBI and Foreign Keys

by dsheroh (Prior)
on Apr 09, 2019 at 07:27 UTC ( #1232334=note: print w/replies, xml ) Need Help??

in reply to Re^5: Perl DBI and Foreign Keys
in thread Perl DBI and Foreign Keys

Yeah, rowid is SQLite-specific, but most[citation needed] major database engines will generate some kind of hidden unique identifier for each row if there isn't one explicitly specified. I believe this is because it's much harder to implement joins between tables which completely lack any way to uniquely identify rows. (I read something along those lines many years ago, but haven't really looked into it in any detail.) IIRC, MySQL and Postgres use UUIDs for this purpose and, of course, the field names involved will be engine-specific (if they're user-accessible at all).

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2020-06-05 00:56 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (35 votes). Check out past polls.