Generate SQL Server Scripts Wizard (Choose User Defined Aggregates Page)
Use this page to select the aggregate functions that you want to script.
Select aggregate stored procedures
Select the aggregate functions that you want to script.Select All
Select to script all aggregate functions.Clear All
Select to clear all the check boxes. To continue, you must select at least one aggregate function.