Using Sybase Central to translate stored procedures

Sybase Central has facilities for creating, viewing, and altering procedures.

StepsTranslating a stored procedure using Sybase Central

  1. Connect to a database using Sybase Central, either as owner of the procedure you want to change, or as a DBA user.

  2. Double-click the Procedures folder to see a list of the stored procedures in the database.

  3. Right-click the procedure you want to translate, and choose the target dialect from the submenu: either Watcom-SQL or Transact-SQL.

    The procedure appears 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.

  4. Rewrite any untranslated lines as needed, and click Execute Script to save the translated version to the database. You can also export the text to a file for editing outside Sybase Central.