Using Sybase Central to translate stored procedures

Sybase Central has facilities for creating, viewing, and altering procedures and triggers. You can also export the text to a file for editing outside Sybase Central.

 Translate a stored procedure (Sybase Central)
  1. Use the SQL Anywhere 12 plug-in to connect to the database as a user with DBA authority or as the owner of the procedure.

  2. Click the Procedures & Functions folder and select one of the stored procedures in the list.

  3. In the right pane, click the SQL tab and then click in the text window.

  4. Click File and click one of the Translate To options.

    The procedure appears in the right pane in the selected dialect. If the selected dialect is not the one in which the procedure is stored, the server translates it to that dialect. Any untranslated lines appear as comments.

  5. Rewrite any untranslated lines.

  6. Click File » Save.