In addition to supporting Transact-SQL alternative syntax, SQL Anywhere provides aids for translating statements between the Watcom-SQL and Transact-SQL dialects. The following functions return information about SQL statements and enable automatic translation of SQL statements:
These are functions, and so can be accessed, for example, using a select statement from ISQL. For example, the following statement:
select SqlDialect('select * from employee')
returns the value WatcomSQL.
The Sybase Central database management tool has facilities for creating, viewing, and altering procedures and triggers.
For information on connecting to a database using Sybase Central, and displaying database objects, see the chapter "Managing Databases with Sybase Central" or the Sybase Central online help.
The procedure is displayed in the selected dialect. If the selected dialect is not the one in which the procedure is stored, it is translated to that dialect by the database engine. Any untranslated lines are displayed as comments.