COMPUTE support differs between Adaptive Server Enterprise, SAP SQL Anywhere, and SAP Sybase IQ.
Adaptive Server Enterprise supports the Transact-SQL COMPUTE clause.
SAP 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.