Adding a Result Set Manually

Some databases do not automatically generate result sets for a database service. In this case, you have to add the result sets to the database service. You can do this manually, or you can discover the result sets using a wizard or dialog.

To add a result set:

  1. Open the database service you want to add result sets to.

  2. Select the Service Interface tab.

  3. Expand the Operation Parameters section, and select the Result Sets tab.

  4. Select the operation that you want to add result sets to.

  5. Click Add to open the New Result Sets dialog.

  6. Click Add Column and specify the following column values, then click OK.

    New Column

    FieldDescription

    Column Name

    Enter a unique and descriptive column name.

    Column Name from Table

    Enter the column name from the table.

    Data Type

    Select an available data type from the drop-down list.

    Length

    Enter a value to specify the length of the result set.

    Scale

    Enter a value to specify the scale of the result set.

    Precision

    Enter a value to specify the precision of the result set.

    Is Nullable?

    Specify whether the result set is nullable. Choose from the following:

    • True

    • False

  7. Click OK to close the New Result Set dialog.

    The result sets are added to the Operation Parameters section of the service editor.

  8. Click Finish to add the result sets to the operation.

Discovering Result Sets Using the Wizard

Discovering Result Sets Using the Dialog

Send your feedback on this help topic to Sybase Tech Pubs: pubs@sybase.com