ASA SQL User's Guide
Transact-SQL Compatibility
The stored procedure language is the part of SQL used in stored procedures, triggers, and batches.
Adaptive Server Anywhere supports a large part of the Transact-SQL stored procedure language in addition to the Watcom-SQL dialect based on SQL/92.
Transact-SQL stored procedure overview
Transact-SQL trigger overview
Transact-SQL batch overview