I agree, but you were concerned about the caveats of that approach, that's all.
The DB will create a unique id for each row whether I tell it do that or not.
I am under the impression that if a field is not AUTO_INCREMENT then it expects you to fill its value or it will take its default value if any.
I like this article: https://medium.com/ingeniouslysimple/why-did-we-shift-away-from-database-generated-ids-7e0e54a49bb3
In reply to Re^3: Perl DBI and Foreign Keys
by bliako
in thread Perl DBI and Foreign Keys
by Marshall
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |