I have been creating some queries to an SQL database to extract some of the information from a master table and some other linked tables in a database.
Now I want to be able to create a query that links tables located in two separate databases (both located in the same server) but I do not know if this is possible.
When you create a query, the connection seems to be linked to a specific database in a server and NOT to the server itself. This makes the tables available for the query limited to only one of the databases.
Is this correct or am I missing something?
Is there a way around it? I have not tried to create two connections (one per database), would this work/be possible?
Thanks in advance