COMPUTE support differs between Adaptive Server Enterprise, SQL Anywhere, and SAP Sybase IQ.
Adaptive Server Enterprise supports the Transact-SQL COMPUTE clause.
SQL Anywhere and SAP Sybase IQ do not support the Transact-SQL COMPUTE clause since it is not in the ANSI standard and this functionality is provided by most third-party front-end tools.