SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tNow double click on the task to open the property window and set the propertiesas shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                         150
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tThe above screen shows the configuration used for setting the FTP Connection,end user need to provide the correct connection settings and click on the TestConnection to confirm if the connection is valid.Now in the file transfer tab we need to set the property since in our example weare going to create a folder in the remote server we need to set as below. Hereinput variable is used to get the path where we need to create the folder in theremote server.© Karthikeyan Anbarasan, www.f5Debug.net                                          151
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere once you have given valid credentials by running directly the package will dothe necessary steps of creating a new directory in the remote server using the FTPTask.ConclusionIn this chapter we have seen on how to create the folder in the remote serverusing FTP Task with the SQL Server Business Intelligence Studio.© Karthikeyan Anbarasan, www.f5Debug.net                                            152
SQL Server Integration Services (SSIS) – Step by Step Tutorial                 Chapter 29          CREATE LOCAL FOLDER USING FTP TASK IN SSIS PACKAGEIntroductionIn this chapter we are going to see on how to use a FTP task in SSIS package to create alocal folder using FTP Task transformation using the SQL Server Business IntelligenceStudio with SSIS Packaging.StepsFollow steps 1 to 3 of the first chapter to open the BIDS project and select the rightproject to work on integration services project. Once the project is created, we willsee on how to use FTP task container.Drag and drop the FTP task as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net  153
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tNow double click on the task to open the property window and set the propertiesas shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                         154
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tThe above screen shows the configuration used for setting the FTP Connection,end user need to provide the correct connection settings and click on the TestConnection to confirm if the connection is valid.Now in the file transfer tab we need to set the property since in our example weare going to create a folder in the local box we need to set as below. Here inputvariable is used to get the path where we need to create the folder in the localmachine.© Karthikeyan Anbarasan, www.f5Debug.net                                           155
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere once you have given valid credentials by running directly the package will dothe necessary steps of creating a new directory in the local server using the FTPTask. Here if you could see an option OverwriteFileAtDest = true, we need to setthis option so that if there is an existing folder it will over write else it will create anew directory.ConclusionIn this chapter we have seen how to create the folder in the local machine usingFTP Task Transformation using the SQL Server Business Intelligence Studio.© Karthikeyan Anbarasan, www.f5Debug.net                                                     156
SQL Server Integration Services (SSIS) – Step by Step Tutorial                 Chapter 30                                   DATA FLOW TRANSFORMATIONS IN SSISIntroductionIn this chapter we are going to see on what Data Flow Transformations in SSIS andthe list of controls that are provided in the data flow transformations followed bythe series of chapters on each of the control and the usage of the controls.StepsFollow steps 1 to 3 of the first chapter to open the BIDS project and select the rightproject to work on integration services project. Once the project is created, we willsee on what exactly the data flow transformations are and where to locate thecontrols under this transformation and the usage of those transformations.After opening a new project just move to the Dataflow tab in the designer windowand you can see the list of Data Transformations as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net  157
SQL Server Integration Services (SSIS) – Step by Step Tutorial    w        w            w                .f5                     d                        e                           b                             u                                g                                   .n                                       e                                         tData flow transformations are helpful to do any type of manipulations across thedata which are to be transferred and used in the package.There are 28 data flow transformation controls and the list of them are as belowwith a small description on what for the control is used for.S No       Transformation                                 Description  1   Aggregate                           Aggregates and groups values  2   Audit                               Adds audit information  3   Character Map                       Applies string operations to character                                          data      4 Conditional Split                 Evaluates and splits up rows      5 Copy Column                       Copies a column      6 Data Conversion                   Converts data to a different data type© Karthikeyan Anbarasan, www.f5Debug.net                                                        158
SQL Server Integration Services (SSIS) – Step by Step Tutorial7 Data Mining Query                       Runs a data mining query8 Derived Column                          Calculates a new column from                                          existing data9 Export Column                           Exports data from a column to a file10 Fuzzy Grouping                         Groups rows that contain similar                                          values11 Fuzzy Lookup                           Looks up values using fuzzy matchingw    w12 Import Column                     Imports data from a file to a column        w            .f513 Lookup                  Looks up values in a dataset                 d                    e14 Merge             Merges two sorted datasets                       b                         u15 Merge Join   Merges data from two datasets by                            g             using a join                               .n16 Multicast                       e      Creates copies of a dataset                                     t17 OLE DB Command                         Executes a SQL command on each                                          row in a dataset18 Percentage Sampling                    Extracts a subset of rows from a                                          dataset19 Pivot                                  Builds a pivot table from a dataset20 Row Count                              Counts the rows of a dataset21 Row Sampling                           Extracts a sample of rows from a                                          dataset22 Script Component                       Executes a custom script23 Slowly Changing                        Updates a slowly changing dimension           Dimension                      in a cube24 Sort                                   Sorts data25 Term Extraction                        Extracts data from a column© Karthikeyan Anbarasan, www.f5Debug.net                                        159
SQL Server Integration Services (SSIS) – Step by Step Tutorial26 Term Lookup                            Looks up the frequency of a term in a                                          column27 Union All                              Merges multiple datasets28 Unpivot                                Normalizes a pivot tableConclusionIn our upcoming chapters we are going to see on each of the major control andthe purpose of them in details with some working samples.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net                                         160
SQL Server Integration Services (SSIS) – Step by Step Tutorial                              Chapter 31                AGGREGATE (AVERAGE) TRANSFORMATION CONTROLIntroductionIn this chapter we are going to see on how to use an Aggregate data flowtransformation control in SSIS packaging. Aggregate functions are used to do a listof needed activities like Sum, Average, and Group by etc., on to a transformationoutput. To follow my series of chapters on SSIS packages refer to my profile.                    w                        w                            w                                .f5                                     d                                        e                                           b                                             u                                                g                                                   .n                                                       e                                                         tStepsFollow steps 1 to 3 of the first chapter to open the BIDS project and select the rightproject to work on integration services project. Once the project is created, we willsee on how to use an aggregate control along with the list of available operations.The lists of available aggregate functions are as follows. Aggregate Operation                            DescriptionAverage               Gives the average values of column valuesGroup by              Divides the dataset into groups                      Sums the columns into a value, data types withSum                   integers are only taken into account                      Gives the number of items in a groupCountCount distinct        Gives the number of unique non null number of items© Karthikeyan Anbarasan, www.f5Debug.net                                   161
Minimum  SQL Server Integration Services (SSIS) – Step by Step TutorialMaximum                      in a group                      Gives the minimum number in a group                      Gives the maximum number in a groupHere we will see on the AVERAGE operation in the aggregate control. Here we haveadded an OLEDB connection which fetches the data from the database upon whichwe are going to do some manipulations and then pass it to a file destination asshown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere last 2 controls shows a red mark inside the control indicating that it is notconfigured. We step forward and configure the same. Now double click on theAggregate function will open a pop-up window as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                            162
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere we are selecting the columns on which we need an average of as shown inthe screen. And after selecting the number of columns for the aggregate then clickon the OK button to get configured. Now configure the Flat File Destination asshown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                            163
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tOnce we are done with the configuration setting we can see our screen look asshown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                       164
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tNow Press F5 or Execute button from the tool bar will run the application andshow the output as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                       165
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere the numbers of rows are indicated at the bottom of the each control asshown in the above screen. And finally the results (AVERAGE of the columns) areloaded to flat file destination which looks like below.Conclusion:                                                                      166In this chapter we have seen on how to do an average of a number of columnsusing an Aggregate function with the SQL Server Business Intelligence Studio.© Karthikeyan Anbarasan, www.f5Debug.net
SQL Server Integration Services (SSIS) – Step by Step Tutorial                 Chapter 32              AGGREGATE (GROUP BY) TRANSFORMATION CONTROLIntroduction:In this chapter we are going to see on how to use an Aggregate (Group by) dataflow transformation control in SSIS packaging. With this function operation we canget a list of grouping necessary to get result in desired format.Let’s jump into to the example on how to use this control in real time.StepsFollow steps 1 to 3 of the first chapter to open the BIDS project and select the rightproject to work on integration services project. Once the project is created, we willsee on how to use an aggregate control for grouping the columns.Here we will see on the Group By operation in the aggregate control. We need toadd an OLEDB connection data source which fetches the data from the databaseupon which we are going to do Grouping manipulations and then pass it to a filedestination as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net  167
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere last 2 controls shows a red mark inside the control indicating that the controlis not configured. We step forward and configure the same. Now double click onthe Aggregate function will open a pop-up window as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                              168
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere we are selecting the columns on which we need a Grouping of data as shownin the screen. And after selecting the number of columns for the group then clickson the OK button to get configured. Now configure the Flat File Destination asshown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                            169
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tOnce we are done with the configuration setting we can see our screen look asshown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                       170
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tNow Press F5 or Execute button from the tool bar will run the application andshow the output as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                       171
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere the numbers of rows are indicated at the bottom of the each control asshown in the above screen. And finally the results (Grouping of the columns basedon product) are loaded to flat file destination which looks like below.© Karthikeyan Anbarasan, www.f5Debug.net                                           172
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tConclusionIn this chapter we have seen on how to do a grouping of a number of columnsusing an Aggregate function transformation in data flow tab.© Karthikeyan Anbarasan, www.f5Debug.net                                     173
SQL Server Integration Services (SSIS) – Step by Step Tutorial                 Chapter 33                       AGGREGATE (SUM) TRANSFORMATION CONTROLIntroductionIn this chapter we are going to see on how to use an Aggregate (SUM) data flowtransformation control in SSIS packaging. With this function operation we can get aSummation of a number of rows necessary to get result in desired format. Let’sjump into to the example on how to use this control in real time.StepsFollow steps 1 to 3 of the first chapter to open the BIDS project and select the rightproject to work on integration services project. Once the project is created, we willsee on how to use an aggregate control for summing the rows and give as a singlecolumn.Here we will see on the SUM operation in the aggregate control. We need to addan OLEDB connection data source which fetches the data from the database uponwhich we are going to do summation of number of rows and then pass it to a filedestination as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net  174
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere last 2 controls shows a red mark inside the control indicating that the controlis not configured. We step forward and configure the same. Now double click onthe Aggregate function will open a pop-up window as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                              175
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere we are selecting the columns on which we need a SUM as shown in thescreen. And after selecting the numbers of columns for summation then click onthe OK button to get configured. Now configure the Flat File Destination as shownin the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                           176
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tOnce we are done with the configuration setting we can see our screen look asshown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                       177
SQL Server Integration Services (SSIS) – Step by Step TutorialNow Press F5 or Execute button from the tool bar will run the application andshow the output as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net                                                   178
SQL Server Integration Services (SSIS) – Step by Step TutorialHere the numbers of rows are indicated at the bottom of the each control asshown in the above screen. And finally the results (SUM of rows resulting in asingle column) are loaded to flat file destination which looks like beloww    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tConclusionIn this chapter we have seen on how to do a Summation of the rows using anAggregate function transformation in data flow tab.© Karthikeyan Anbarasan, www.f5Debug.net                                                   179
SQL Server Integration Services (SSIS) – Step by Step Tutorial          Chapter 34                   AGGREGATE (COUNT) TRANSFORMATION CONTROLIntroductionIn this chapter we are going to see on how to use an Aggregate (COUNT) data flowtransformation control in SSIS packaging. With this function operation we can get aCount on the number of rows necessary to get result in desired format.Let’s jump into to the example on how to use this control in real time.StepsFollow steps 1 to 3 of the first chapter to open the BIDS project and select the rightproject to work on integration services project. Once the project is created, we willsee on how to use an aggregate control for getting the count of the rows of aparticular column or a list of columns.Here we will see on the COUNT operation in the aggregate control. We need to addan OLEDB connection data source which fetches the data from the database uponwhich we are going to do get the Count of number of rows and then pass it to a filedestination as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net  180
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere last 2 controls shows a red mark inside the control indicating that the controlis not configured. We step forward and configure the same. Now double click onthe Aggregate function will open a pop-up window as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                              181
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere we are selecting the columns on which we need a Count as shown in thescreen. And after selecting the numbers of columns for getting the count now clickon the OK button to get configured. Now configure the Flat File Destination asshown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                            182
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tOnce we are done with the configuration setting we can see our screen look asshown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                       183
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tNow Press F5 or Execute button from the tool bar will run the application andshow the output as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                       184
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere the numbers of rows are indicated at the bottom of the each control asshown in the above screen. And finally the results (COUNT of rows) are loaded toflat file destination which looks like below.ConclusionIn this chapter we have seen on how to get a count of number of rows using an     185Aggregate function transformation in data flow tab.© Karthikeyan Anbarasan, www.f5Debug.net
SQL Server Integration Services (SSIS) – Step by Step Tutorial                 Chapter 35     AGGREGATE (COUNT DISTINCT) TRANSFORMATION CONTROLIntroductionIn this chapter we are going to see on how to use an Aggregate (COUNT DISTINCT)data flow transformation control in SSIS packaging. With this function operationwe can get a Count on the number of distinct rows which are unique and not nulland to get result in desired format.Let’s jump into to the example on how to use this control in real time.StepsFollow steps 1 to 3 of the first chapter to open the BIDS project and select the rightproject to work on integration services project. Once the project is created, we willsee on how to use an aggregate control for getting the count of the distinct rows ofa particular column or a list of columns.Here we will see on the COUNT DISTINCT operation in the aggregate control. Weneed to add an OLEDB connection data source which fetches the data from thedatabase upon which we are going to do get the Count of the distinct number ofrows and then pass it to a file destination as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net  186
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere last 2 controls shows a red mark inside the control indicating that the controlis not configured. We step forward and configure the same. Now double click onthe Aggregate function will open a pop-up window as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                              187
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere we are selecting the columns on which we need a distinct Count as shown inthe screen. And after selecting the numbers of columns for getting the distinctcount now click on the OK button to get configured. Now configure the Flat FileDestination as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                         188
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tOnce we are done with the configuration setting we can see our screen look asshown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                       189
SQL Server Integration Services (SSIS) – Step by Step TutorialNow Press F5 or Execute button from the tool bar will run the application andshow the output as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net                                                   190
SQL Server Integration Services (SSIS) – Step by Step TutorialHere the numbers of rows are indicated at the bottom of the each control asshown in the above screen. And finally the results (Distinct COUNT of rows) areloaded to flat file destination which looks like below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tConclusionIn this chapter we have seen on how to get a distinct not null count of number ofrows using an Aggregate function transformation in data flow tab.© Karthikeyan Anbarasan, www.f5Debug.net                                                   191
SQL Server Integration Services (SSIS) – Step by Step Tutorial          Chapter 36              AGGREGATE (MAXIMUM) TRANSFORMATION CONTROLIntroductionIn this chapter we are going to see on how to use an Aggregate (Maximum) dataflow transformation control in SSIS packaging. With this function operation we canget a number which is a maximum of a column.To start with this we should have the column to be of integer data type as specifiedin order to get the maximum. Let’s jump into to the example on how to use thiscontrol in real time.StepsFollow steps 1 to 3 of the first chapter to open the BIDS project and select the rightproject to work on integration services project. Once the project is created, we willsee on how to use an aggregate control for getting the maximum number in aparticular column.Here we will see on the Maximum operation in the aggregate control. We need toadd an OLEDB connection data source which fetches the data from the databaseupon which we are going to do get the maximum of the rows and then pass it to afile destination as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net  192
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere last 2 controls shows a red mark inside the control indicating that the controlis not configured. We step forward and configure the same. Now double click onthe Aggregate function will open a pop-up window as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                              193
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere we are selecting the columns on which we need a maximum as shown in thescreen. And after selecting the numbers of columns for getting the maximumnumber now click on the OK button to get configured. Now configure the Flat FileDestination as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                          194
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tOnce we are done with the configuration setting we can see our screen look asshown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                       195
SQL Server Integration Services (SSIS) – Step by Step TutorialNow Press F5 or Execute button from the tool bar will run the application andshow the output as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net                                                   196
SQL Server Integration Services (SSIS) – Step by Step TutorialHere the numbers of rows are indicated at the bottom of the each control asshown in the above screen. And finally the results (Maximum number in a column)are loaded to flat file destination which looks like below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tConclusionIn this chapter we have seen on how to get a maximum number in a row using anAggregate function transformation in data flow tab.© Karthikeyan Anbarasan, www.f5Debug.net                                                   197
SQL Server Integration Services (SSIS) – Step by Step Tutorial          Chapter 37               AGGREGATE (MINIMUM) TRANSFORMATION CONTROLIntroductionIn this chapter we are going to see on how to use an Aggregate (Minimum) dataflow transformation control in SSIS packaging. With this function operation we canget a number which is a minimum of a column.To start with this we should have the column to be of integer data type as specifiedin order to get the minimum. Let’s jump into to the example on how to use thiscontrol in real time.StepsFollow steps 1 to 3 of the first chapter to open the BIDS project and select the rightproject to work on integration services project. Once the project is created, we willsee on how to use an aggregate control for getting the Minimum number in aparticular column.Here we will see on the Minimum operation in the aggregate control. We need toadd an OLEDB connection data source which fetches the data from the databaseupon which we are going to do get the minimum of the rows and then pass it to afile destination as shown in the screen below.w    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     t© Karthikeyan Anbarasan, www.f5Debug.net  198
SQL Server Integration Services (SSIS) – Step by Step Tutorialw    w        w            .f5                 d                    e                       b                         u                            g                               .n                                   e                                     tHere last 2 controls shows a red mark inside the control indicating that the controlis not configured. We step forward and configure the same. Now double click onthe Aggregate function will open a pop-up window as shown in the screen below.© Karthikeyan Anbarasan, www.f5Debug.net                                              199
                                
                                
                                Search
                            
                            Read the Text Version
- 1
 - 2
 - 3
 - 4
 - 5
 - 6
 - 7
 - 8
 - 9
 - 10
 - 11
 - 12
 - 13
 - 14
 - 15
 - 16
 - 17
 - 18
 - 19
 - 20
 - 21
 - 22
 - 23
 - 24
 - 25
 - 26
 - 27
 - 28
 - 29
 - 30
 - 31
 - 32
 - 33
 - 34
 - 35
 - 36
 - 37
 - 38
 - 39
 - 40
 - 41
 - 42
 - 43
 - 44
 - 45
 - 46
 - 47
 - 48
 - 49
 - 50
 - 51
 - 52
 - 53
 - 54
 - 55
 - 56
 - 57
 - 58
 - 59
 - 60
 - 61
 - 62
 - 63
 - 64
 - 65
 - 66
 - 67
 - 68
 - 69
 - 70
 - 71
 - 72
 - 73
 - 74
 - 75
 - 76
 - 77
 - 78
 - 79
 - 80
 - 81
 - 82
 - 83
 - 84
 - 85
 - 86
 - 87
 - 88
 - 89
 - 90
 - 91
 - 92
 - 93
 - 94
 - 95
 - 96
 - 97
 - 98
 - 99
 - 100
 - 101
 - 102
 - 103
 - 104
 - 105
 - 106
 - 107
 - 108
 - 109
 - 110
 - 111
 - 112
 - 113
 - 114
 - 115
 - 116
 - 117
 - 118
 - 119
 - 120
 - 121
 - 122
 - 123
 - 124
 - 125
 - 126
 - 127
 - 128
 - 129
 - 130
 - 131
 - 132
 - 133
 - 134
 - 135
 - 136
 - 137
 - 138
 - 139
 - 140
 - 141
 - 142
 - 143
 - 144
 - 145
 - 146
 - 147
 - 148
 - 149
 - 150
 - 151
 - 152
 - 153
 - 154
 - 155
 - 156
 - 157
 - 158
 - 159
 - 160
 - 161
 - 162
 - 163
 - 164
 - 165
 - 166
 - 167
 - 168
 - 169
 - 170
 - 171
 - 172
 - 173
 - 174
 - 175
 - 176
 - 177
 - 178
 - 179
 - 180
 - 181
 - 182
 - 183
 - 184
 - 185
 - 186
 - 187
 - 188
 - 189
 - 190
 - 191
 - 192
 - 193
 - 194
 - 195
 - 196
 - 197
 - 198
 - 199
 - 200
 - 201
 - 202
 - 203
 - 204
 - 205
 - 206
 - 207
 - 208
 - 209
 - 210
 - 211
 - 212
 - 213
 - 214
 - 215
 - 216
 - 217
 - 218
 - 219
 - 220
 - 221
 - 222
 - 223
 - 224
 - 225
 - 226
 - 227
 - 228
 - 229
 - 230
 - 231
 - 232
 - 233
 - 234
 - 235
 - 236
 - 237
 - 238
 - 239
 - 240
 - 241
 - 242
 - 243
 - 244
 - 245
 - 246
 - 247
 - 248
 - 249
 - 250
 - 251
 - 252
 - 253
 - 254
 - 255
 - 256
 - 257
 - 258
 - 259
 - 260
 - 261
 - 262
 - 263
 - 264
 - 265
 - 266
 - 267
 - 268
 - 269
 - 270
 - 271
 - 272
 - 273
 - 274
 - 275
 - 276
 - 277
 - 278
 - 279
 - 280
 - 281
 - 282
 - 283
 - 284
 - 285
 - 286
 - 287
 - 288
 - 289
 - 290
 - 291
 - 292
 - 293
 - 294
 - 295
 - 296
 - 297
 - 298
 - 299
 - 300
 - 301
 - 302
 - 303
 - 304
 - 305
 - 306
 - 307
 - 308
 - 309
 - 310
 - 311
 - 312
 - 313
 - 314
 - 315
 - 316
 - 317
 - 318
 - 319
 - 320
 - 321
 - 322
 - 323
 - 324
 - 325
 - 326
 - 327
 - 328
 - 329
 - 330
 - 331
 - 332
 - 333
 - 334
 - 335
 - 336
 - 337
 - 338
 - 339
 - 340
 - 341
 - 342
 - 343
 - 344
 - 345
 - 346
 - 347
 - 348
 - 349
 - 350
 - 351
 - 352
 - 353
 - 354
 - 355
 - 356
 - 357
 - 358
 - 359
 - 360
 - 361
 - 362
 - 363
 - 364
 - 365
 - 366
 - 367
 - 368
 - 369
 - 370
 - 371
 - 372
 - 373
 - 374
 - 375
 - 376
 - 377
 - 378
 - 379
 - 380
 - 381
 - 382
 - 383
 - 384
 - 385
 - 386
 - 387
 - 388
 - 389
 - 390
 - 391
 - 392
 - 393
 - 394
 - 395
 - 396
 - 397
 - 398
 - 399
 - 400
 - 401
 - 402
 - 403
 - 404
 - 405
 - 406
 - 407
 - 408
 - 409
 - 410
 - 411
 - 412
 - 413
 - 414
 - 415
 - 416
 - 417
 - 418
 - 419
 - 420
 - 421
 - 422
 - 423
 - 424
 - 425
 - 426
 - 427
 - 428
 - 429
 - 430
 - 431