Use the SQL Server Aggregate Editor in a SQL Server 2005 physical model to define a user-defined function whose implementation is defined in a class of a .NET Framework assembly.
To define an aggregate in SQL Server 2005
The SQL Server Aggregate Editor opens.
Note: Click New on the toolbar to create a new aggregate. Use the Enter filter text box to filter a very large list of aggregates to quickly locate the one that you want to define.
Displays the aggregate name. You can change the aggregate name in this field.
Specifies the schema for the aggregate. Select a schema from the drop-down list or click the New icon to open the SQL Server Schema Editor and create one.
Defines the input parameter name. For an acceptable syntax value for this field, see your Microsoft SQL Server documentation.
Specifies the data type of the input parameter. Select a data type from the drop-down list.
Specifies the data type of the return value. Select a data type from the drop-down list.
Generates SQL during forward engineering. Clear the check box if you do not want to generate SQL.
Specifies the assembly that will bind with the aggregate function. Select an assembly from the drop-down list or click the New icon to open the SQL Server Assembly Editor and create one.
Specifies the name of the class.
The aggregate is defined and the SQL Server Aggregate Editor closes.
Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |