Is it possible to join two excel tables from workbooks in separate file locations together? For example, this is possible:
Join these two tables.
But I can’t seem to make this join work:
Even if I add both directories to the Location section of the server properties. Thank you for your time!
Thomas Conrad over 2 years ago
Unfortunately, there is a limitation joining tables in different databases. As you probably already know… “Database” refers to the directory where the Excel file resides. “Schema” refers to the Excel file(Workbook). “Tables” are the worksheets in the Excel file. So you can join across schemas but not databases like:
SELECT b.”Name”, a.”Age” FROM “Olympics”.”OlympicAthletes” a
LEFT JOIN “Contestants”.”Sheet1″ b WHERE a.”Athlete” = b.”Name”
Hope that helps,