Define SQL Server Functions

Use the SQL Server Function Editor to define a function for a model or table in a SQL Server 2005/2008 physical model.

To define a SQL Server function

  1. Click Functions on the Database menu.

    The SQL Server Function Editor opens.

  2. Select the function in the Navigation Grid that you want to define and work with the following options:

    Note: Click New <New> icon in property editors on the toolbar to create a new function.

  3. Click the General tab and work with the following options:
  4. Work with the other tabs in the editor to access additional design features, for example:
  5. (Optional) Click the Comment tab and enter any comments that you want to associate with the function.
  6. (Optional) Click the UDP tab to work with user-defined properties for the function.
  7. Click Close.

    The function is defined and the SQL Server Function Editor closes.

More information:

Define the Code Type for an Object in a SQL Server Property Editor

View Expanded Code in a Property Editor

Change the Object Creation Order in a Property Editor

Define Permissions for an Object in a SQL Server Property Editor

Add a Comment in a Property Editor

Add a UDP in a Physical Property Editor

SQL Server Browser for Functions, Script Templates, and Stored Procedures


Copyright © 2009 CA. All rights reserved. Email CA about this topic