Too many Foreign Keys

I’ve seen tables that are referenced by many other tables in the databases and that number was usually around some couple of foreign keys and up to 20, 30 and similar.

Working on a bug, I met an odd table with too many foreign keys. The table is referenced by 327 other tables. Here is a print screen of the query that was run and extracted the results.

So You, please run the next query and please drop me a screen shot on if you come up with something extraordinary like this.


Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.