The following two statements work perfectly well in Interactive SQL version 10.0.1
SELECT * FROM sales_Transactions; OUTPUT TO 'C:\\Accounts\\DailySales.xls';
However, I can not add them to a procedure or event (SyBase Central 126.96.36.19978). The problem is in the OUTPUT statement, if I delete it a procedure saves.
What may be the reason and how can I schedule an export of SELECT result?