Does anyone know how to query data from one database to a another in real time?
For example:
Database 1 has a table called People and a field called PersonID
Database 2 has a table called Employees and a field called EmployeeID
I want to build an SQL Statement something like this:
SELECT DB1.People.PersonID, DB2.Employee.EmployeeID,
WHERE …you get the idea
Using this dot notation (that I have seen in some SQL References), I am getting an error to the effect:
“The column prefix does not match the table name or alias name used in the query”
Any ideas????
For example:
Database 1 has a table called People and a field called PersonID
Database 2 has a table called Employees and a field called EmployeeID
I want to build an SQL Statement something like this:
SELECT DB1.People.PersonID, DB2.Employee.EmployeeID,
WHERE …you get the idea
Using this dot notation (that I have seen in some SQL References), I am getting an error to the effect:
“The column prefix does not match the table name or alias name used in the query”
Any ideas????