I was wanting to know if anyone knew if it was possible to run a free hand SQL statement in Business Objects that could join two tables on different servers in different databases. For Example,
Select x.column, y.column
From Server1.Owner.Database.Table x, Server2.Owner.Database2.Table y
Where Server1.Owner.Database.Table.Column = Server2.Owner.Database2.Table.Column
I am thinking there is a limitation due to having to select a connection in the free hand SQL window. If it is not possible, does anyone have any suggestions how to get this type of query into Business Objects.
I think - in SQL Server - that you can address two databases on the same server. But in your example, you address two different servers. So I think that’s going to be your issue.
Have a look at the procedure sp_addlinkedserver. You can then query Oracle and SQL tables in the same query. AS400 is a bit messier, but Oracle and SQL Server work fine together. Performance has been OK for what I have used them for.