Spreadsheet::WriteExcel does not know anything about (SQL) queries. There is something else that runs the SQL query on your server and then hands over the query results to Spreadsheet::WriteExcel. Whatever that part does, you have not shown us its code, and maybe there is where (part of) the problem is.
In reply to Re^3: Query Does not work in Spreadsheet::WriteExcel
by Corion
in thread Query Does not work in Spreadsheet::WriteExcel
by dirtdog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |