I have 3 different database and I’m writing some stored procedures.
Is it possible to find foreign keys in cross databases with db names?
For ex:
ForeignKey — Table name — Column name — Reference table name —
Reference column name — Reference Database name
FK relationships can’t and don’t exist across database boundaries. Obviously you may have related data in separate databases, but there’s no tool/method to find them other than manual search.