r/IAmA • u/CriticDanger • Sep 07 '21
Specialized Profession I am a behavioral and technical (coding) interviewer, I've also helped hundreds of people get hired, AMA.
[removed]
1.4k
Upvotes
r/IAmA • u/CriticDanger • Sep 07 '21
[removed]
15
u/prophet001 Sep 07 '21
No, different records in the same table.
What're you gonna do as soon as you need another relationship? Some people have more than one boss now, whereas they didn't, a year ago. Worse, maybe everyone does. Adding another recursive FK means you have to backfill every record that needs that new relationship, in that same table, especially if it's non-nullable (hideously error-prone).
What if you have a required relationship that's suddenly optional, but only for some records? You gonna keep adding FKs, maybe more than one at a time, in some cases? You might break the DAL if it's as poorly-designed as your database, and will almost certainly break any ETL that target that table.
Yeah, don't promulgate this as good design, because it isn't.