Previous Topic: Define SQL Server 2008 and 2012 FunctionsNext Topic: Define a SQL Server 2008 Resource Pool


Specify the Return Order for a Table Return Assembly Function

Use the Return Order tab in the SQL Server Function Editor to specify the order in which results should be returned from a Table Return Assembly Function in a SQL Server 2008 physical model.

To specify return order

  1. Click Functions on the Model menu.

    The SQL Server Function Editor opens.

  2. Select the function in the Navigation Grid for which you want to specify return order.

    Note: Click New New icon in property editors to create a new object on the toolbar to create a new function. Use the Enter filter text box to filter a very large list of functions to quickly locate the one that you want to define.

  3. Click the Return Order tab and work with the following options:
    New icon in property editors to create a new object New

    Creates a new return table order object.

    Note: Ensure you have set the return table definition first or you are unable to create the object.

    property editor DELETE button Delete

    Deletes the selected object.

    Function Editor Return Order Tab_Return Table Sort Button Sort

    Sorts the objects by alphabetic, reverse alphabetic, or return table order.

    Up Arrow_Up to Top of List

    Moves the object to the top of the list.

    Up Arrow_Up One Position in List

    Moves the object up one position in the list.

    Down Arrow_Down One Position in List

    Moves the object down one position in the list.

    Down Arrow_Down to Bottom of List

    Moves the object to the bottom of the list.

    Note: You use these up and down arrow buttons to specify the return order.

  4. Click Close.

    Table Return Assembly Function order is defined and the SQL Server Function Editor closes.