BreadCrumbs: Excel Mulit File Query
Excel Mulit File Query
From Luke Jackson
Revision as of 02:46, 5 October 2008; Ljackson (Talk | contribs)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
(diff) ←Older revision | Current revision | Newer revision→ (diff)
[edit]
Merging Multiple Excel Files Together
Joining Excel documents can be quite useful for reporting. All of the files you want to merge will have to have the same column names.
Using UNION ALL we can join as many files as we need.
SELECT * FROM `L:\Quality Control\Redo Sheets\redo_sheet_lri.xls`.`'Redo Sheet$'` UNION ALL SELECT * FROM `L:\Quality Control\Redo Sheets\redo_sheet_jra.xls`.`'Redo Sheet$'`
[edit]
Tags
Joining Excel Documents, Various Documents, Many Excel Files