How to programmatically identify which connected database is a schema holder and which to query for data?
What characteristics can be programmatically interrogated to determine which connected database contains the schema (schema holder) and which is the foreign database which your application code would interact with?