Contents Index Automatic translation of stored procedures Returning result sets from Transact-SQL procedures

ASA SQL User's Guide
  Transact-SQL Compatibility
    Automatic translation of stored procedures

Using Sybase Central to translate stored procedures


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

To translate a stored procedure using Sybase Central

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

  2. Open the Procedures & Functions folder.

  3. Right-click the procedure you want to translate and from the popup menu choose one of the Translate to commands, depending on the dialect you want to use.

    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.

  4. Rewrite any untranslated lines as needed.

  5. When finished, choose File > Save Procedure to save the translated version to the database. You can also export the text to a file for editing outside of Sybase Central.


Contents Index Automatic translation of stored procedures Returning result sets from Transact-SQL procedures