├── 978-1-4842-0083-4 ├── 978-1-4302-3771-6_Ch07_FlatFile_ExampleScripts.zip ├── 978-1-4842-0083-4_Ch04 │ └── Ch04 │ │ ├── DesignPatterns.sln │ │ └── DesignPatterns │ │ ├── Ch04_SQLServerSource.dtsx │ │ ├── DesignPatterns.database │ │ ├── DesignPatterns.dtproj │ │ ├── DesignPatterns.dtproj.user │ │ ├── Project.params │ │ ├── bin │ │ ├── DesignPatterns.ispac │ │ └── Development │ │ │ └── DesignPatterns.ispac │ │ └── obj │ │ └── Development │ │ ├── BuildLog.xml │ │ ├── Ch04_SQLServerSource.dtsx │ │ ├── Ch06_DB2Source.dtsx │ │ ├── Ch15_Reporting.dtsx │ │ ├── Ch16_DynamicChild.dtsx │ │ ├── Ch16_ParentChild.dtsx │ │ ├── Ch17_DynamicChild.dtsx │ │ ├── Ch17_ParentChild.dtsx │ │ ├── Ch19_Reporting.dtsx │ │ ├── ChildPackage.dtsx │ │ ├── ChildPackage2.dtsx │ │ ├── DesignPatterns.dtproj │ │ └── Project.params ├── 978-1-4842-0083-4_Ch05 │ └── Ch05 │ │ └── DataQualityProject │ │ ├── CheckConfidence.dtsx │ │ ├── Cleansing.dtsx │ │ ├── Cleansing_multiple.dtsx │ │ ├── Cleansing_split.dtsx │ │ ├── DataQualityProject.database │ │ ├── DataQualityProject.dtproj │ │ ├── DataQualityProject.dtproj.user │ │ ├── DataQualityProject.sln │ │ ├── HandleAllStatus.dtsx │ │ ├── LastCleansed.dtsx │ │ ├── Project.params │ │ ├── bin │ │ └── Development │ │ │ └── DataQualityProject.ispac │ │ └── obj │ │ └── Development │ │ ├── BuildLog.xml │ │ ├── Cleansing.dtsx │ │ ├── Cleansing1.dtsx │ │ ├── Cleansing_split.dtsx │ │ ├── DataQualityProject.dtproj │ │ ├── HandleAllStatus 1.dtsx │ │ ├── HandleAllStatus.dtsx │ │ ├── Package.dtsx │ │ └── Project.params ├── 978-1-4842-0083-4_Ch06 │ └── Ch06 │ │ ├── DesignPatterns.sln │ │ └── DesignPatterns │ │ ├── Ch06_DB2Source.dtsx │ │ ├── DesignPatterns.database │ │ ├── DesignPatterns.dtproj │ │ ├── DesignPatterns.dtproj.user │ │ ├── Project.params │ │ ├── bin │ │ ├── DesignPatterns.ispac │ │ └── Development │ │ │ └── DesignPatterns.ispac │ │ └── obj │ │ └── Development │ │ ├── BuildLog.xml │ │ ├── Ch04_SQLServerSource.dtsx │ │ ├── Ch06_DB2Source.dtsx │ │ ├── Ch15_Reporting.dtsx │ │ ├── Ch16_DynamicChild.dtsx │ │ ├── Ch16_ParentChild.dtsx │ │ ├── Ch17_DynamicChild.dtsx │ │ ├── Ch17_ParentChild.dtsx │ │ ├── Ch19_Reporting.dtsx │ │ ├── ChildPackage.dtsx │ │ ├── ChildPackage2.dtsx │ │ ├── DesignPatterns.dtproj │ │ └── Project.params ├── 978-1-4842-0083-4_Ch09 │ └── Ch09 │ │ ├── Customer.cs │ │ ├── Customer.xsd │ │ ├── Customers-result.xml │ │ ├── Customers.xml │ │ ├── Customers.xsl │ │ ├── XmlReader.linq │ │ └── main_xmlreader.cs ├── 978-1-4842-0083-4_Ch12 │ └── CH12 │ │ ├── CH12.database │ │ ├── CH12.dtproj │ │ ├── CH12.dtproj.user │ │ ├── CH12.sln │ │ ├── CH12.suo │ │ ├── CH12.v12.suo │ │ ├── Package.dtsx │ │ └── Project.params ├── 978-1-4842-0083-4_Ch13 │ └── Ch13 │ │ ├── Chapter13.database │ │ ├── Chapter13.dtproj │ │ ├── Chapter13.dtproj.user │ │ ├── Chapter13.sln │ │ ├── Merge.dtsx │ │ ├── Project.params │ │ └── SCD.dtsx ├── 978-1-4842-0083-4_Ch15 │ └── Ch15 │ │ ├── DesignPatterns.sln │ │ └── DesignPatterns │ │ ├── Ch15_Reporting.dtsx │ │ ├── DesignPatterns.database │ │ ├── DesignPatterns.dtproj │ │ ├── DesignPatterns.dtproj.user │ │ ├── Project.params │ │ ├── bin │ │ ├── DesignPatterns.ispac │ │ └── Development │ │ │ └── DesignPatterns.ispac │ │ └── obj │ │ └── Development │ │ ├── BuildLog.xml │ │ ├── Ch04_SQLServerSource.dtsx │ │ ├── Ch06_DB2Source.dtsx │ │ ├── Ch15_Reporting.dtsx │ │ ├── Ch16_DynamicChild.dtsx │ │ ├── Ch16_ParentChild.dtsx │ │ ├── Ch17_DynamicChild.dtsx │ │ ├── Ch17_ParentChild.dtsx │ │ ├── Ch19_Reporting.dtsx │ │ ├── ChildPackage.dtsx │ │ ├── ChildPackage2.dtsx │ │ ├── DesignPatterns.dtproj │ │ └── Project.params ├── 978-1-4842-0083-4_Ch16 │ └── Ch16 │ │ ├── DesignPatterns.sln │ │ └── DesignPatterns │ │ ├── Ch16_DynamicChild.dtsx │ │ ├── Ch16_ParentChild.dtsx │ │ ├── ChildPackage.dtsx │ │ ├── ChildPackage2.dtsx │ │ ├── DesignPatterns.database │ │ ├── DesignPatterns.dtproj │ │ ├── DesignPatterns.dtproj.user │ │ ├── Project.params │ │ ├── bin │ │ ├── DesignPatterns.ispac │ │ └── Development │ │ │ └── DesignPatterns.ispac │ │ └── obj │ │ └── Development │ │ ├── BuildLog.xml │ │ ├── Ch04_SQLServerSource.dtsx │ │ ├── Ch06_DB2Source.dtsx │ │ ├── Ch15_Reporting.dtsx │ │ ├── Ch16_DynamicChild.dtsx │ │ ├── Ch16_ParentChild.dtsx │ │ ├── Ch17_DynamicChild.dtsx │ │ ├── Ch17_ParentChild.dtsx │ │ ├── Ch19_Reporting.dtsx │ │ ├── ChildPackage.dtsx │ │ ├── ChildPackage2.dtsx │ │ ├── DesignPatterns.dtproj │ │ └── Project.params ├── 978-1-4842-0083-4_Ch17 │ └── Ch17 │ │ ├── ConfigurationChapter.database │ │ ├── ConfigurationChapter.dtproj │ │ ├── ConfigurationChapter.dtproj.user │ │ ├── ConfigurationChapter.sln │ │ ├── Package.dtsx │ │ ├── Package1.dtsx │ │ └── Project.params ├── 978-1-4842-0083-4_Ch18 │ └── Ch18 │ │ ├── MomDeployment.csproj │ │ ├── MomDeployment.sln │ │ ├── Program.cs │ │ ├── Properties │ │ └── AssemblyInfo.cs │ │ └── app.config ├── 978-1-4842-0083-4_Ch19_BIML2014_ExampleScripts.zip ├── 978-1-4842-0083-4_Ch20_BIML2014_ExampleScripts.zip ├── 978-1-4842-0083-4_ch01_ExampleScripts.zip └── Appendix_A_SourceCode.zip ├── 9781484200834.jpg ├── LICENSE.txt ├── README.md └── contributing.md /978-1-4842-0083-4/978-1-4302-3771-6_Ch07_FlatFile_ExampleScripts.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4302-3771-6_Ch07_FlatFile_ExampleScripts.zip -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "DesignPatterns", "DesignPatterns\DesignPatterns.dtproj", "{3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Development|Default = Development|Default 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}.Development|Default.ActiveCfg = Development 12 | {3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}.Development|Default.Build.0 = Development 13 | EndGlobalSection 14 | GlobalSection(SolutionProperties) = preSolution 15 | HideSolutionNode = FALSE 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/DesignPatterns.database: -------------------------------------------------------------------------------- 1 |  2 | DesignPatterns 3 | DesignPatterns 4 | 0001-01-01T00:00:00Z 5 | 0001-01-01T00:00:00Z 6 | 0001-01-01T00:00:00Z 7 | Unprocessed 8 | 0001-01-01T00:00:00Z 9 | 10 | Default 11 | Unchanged 12 | 13 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/DesignPatterns.dtproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Development 6 | 7 | SQLServer2012 8 | /SSISDB/DesignPatterns/DesignPatterns 9 | 10 | 11 | false 12 | true 13 | 14 | 15 | LastModifiedTime 16 | LastModifiedTime 17 | 2011-08-21T15:05:24.7198512Z 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/Project.params: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/bin/DesignPatterns.ispac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/bin/DesignPatterns.ispac -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/bin/Development/DesignPatterns.ispac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/bin/Development/DesignPatterns.ispac -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/obj/Development/BuildLog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DesignPatterns 5 | 2012-06-25T19:36:41.2078776Z 6 | EncryptSensitiveWithUserKey 7 | 8 | 9 | 10 | Ch04_SQLServerSource.dtsx 11 | 2012-06-18T09:25:50.4593857Z 12 | EncryptSensitiveWithUserKey 13 | 14 | 15 | Ch06_DB2Source.dtsx 16 | 2012-06-25T17:02:23.5032626Z 17 | EncryptSensitiveWithUserKey 18 | 19 | 20 | ChildPackage.dtsx 21 | 2012-06-25T19:58:43.0512394Z 22 | EncryptSensitiveWithUserKey 23 | 24 | 25 | ChildPackage2.dtsx 26 | 2011-12-17T23:33:56Z 27 | EncryptSensitiveWithUserKey 28 | 29 | 30 | Ch15_Reporting.dtsx 31 | 2012-06-13T15:52:51.2225871Z 32 | EncryptSensitiveWithUserKey 33 | 34 | 35 | Ch16_DynamicChild.dtsx 36 | 2012-06-25T20:01:42.8636152Z 37 | EncryptSensitiveWithUserKey 38 | 39 | 40 | Ch16_ParentChild.dtsx 41 | 2012-06-25T20:04:20.6143222Z 42 | EncryptSensitiveWithUserKey 43 | 44 | 45 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/obj/Development/Ch06_DB2Source.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 34 | 35 | 37 | 38 | 39 | 40 | 41 | 47 | dev 49 | 50 | 57 | “select col1, col2 from ” + @environment + “.tab1” 59 | 60 | 61 | 62 | 70 | 71 | 72 | 76 | 77 | 86 | 87 | 0 91 | 95 | 99 | select * from table where col = ? 104 | User::query 108 | 1252 112 | false 116 | 3 121 | 125 | 126 | 127 | 133 | 134 | 135 | 138 | 140 | 141 | 145 | 146 | 152 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 174 | 175 | 177 | 178 | 180 | 184 | 185 | 186 | 187 | 189 | 190 | 192 | 196 | 197 | 198 | 199 | ]]> 200 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/obj/Development/Ch16_DynamicChild.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 37 | 40 | 41 | 47 | 50 | 52 | 53 | 55 | 56 | 57 | 58 | 59 | 65 | 68 | 69 | 70 | 71 | 81 | 82 | 83 | 87 | 90 | 91 | 92 | 93 | 101 | 105 | 106 | 109 | 110 | 111 | 112 | 113 | 123 | 124 | @[User::packageName] 126 | 127 | 128 | True 129 | 130 | 131 | 132 | 133 | 134 | 140 | 141 | 142 | 143 | 144 | 152 | 153 | 154 | 155 | 156 | 157 | 159 | 160 | 162 | 163 | 165 | 169 | 173 | 180 | 183 | 184 | 189 | 190 | 192 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | ]]> 206 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/obj/Development/Ch17_DynamicChild.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 37 | 40 | 42 | 43 | 45 | 46 | 47 | 48 | 49 | 55 | 58 | 59 | 60 | 61 | 71 | 72 | 73 | 77 | 80 | 81 | 82 | 83 | 91 | 95 | 96 | 99 | 100 | 101 | 102 | 103 | 113 | 114 | @[User::packageName] 116 | 117 | 118 | True 119 | 120 | 121 | 122 | 123 | 124 | 130 | 131 | 132 | 133 | 134 | 142 | 143 | 144 | 145 | 146 | 147 | 149 | 150 | 152 | 153 | 155 | 159 | 163 | 170 | 173 | 174 | 179 | 180 | 182 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | ]]> 196 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/obj/Development/ChildPackage2.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 20 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch04/Ch04/DesignPatterns/obj/Development/Project.params: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch05/Ch05/DataQualityProject/DataQualityProject.database: -------------------------------------------------------------------------------- 1 |  2 | DataQualityProject 3 | DataQualityProject 4 | 0001-01-01T00:00:00Z 5 | 0001-01-01T00:00:00Z 6 | 0001-01-01T00:00:00Z 7 | Unprocessed 8 | 0001-01-01T00:00:00Z 9 | 10 | Default 11 | Unchanged 12 | 13 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch05/Ch05/DataQualityProject/DataQualityProject.dtproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Development 6 | 7 | 8 | 9 | false 10 | true 11 | 12 | 13 | LastModifiedTime 14 | LastModifiedTime 15 | 2011-11-02T14:37:01.067559Z 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch05/Ch05/DataQualityProject/DataQualityProject.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "DataQualityProject", "DataQualityProject.dtproj", "{49CA3563-996E-425F-8A8E-2ABD88D70675}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Development|Default = Development|Default 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {49CA3563-996E-425F-8A8E-2ABD88D70675}.Development|Default.ActiveCfg = Development 12 | {49CA3563-996E-425F-8A8E-2ABD88D70675}.Development|Default.Build.0 = Development 13 | EndGlobalSection 14 | GlobalSection(SolutionProperties) = preSolution 15 | HideSolutionNode = FALSE 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch05/Ch05/DataQualityProject/Project.params: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch05/Ch05/DataQualityProject/bin/Development/DataQualityProject.ispac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch05/Ch05/DataQualityProject/bin/Development/DataQualityProject.ispac -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch05/Ch05/DataQualityProject/obj/Development/BuildLog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DataQualityProject 5 | 2012-04-15T19:11:39.4930439Z 6 | EncryptSensitiveWithUserKey 7 | 8 | 9 | 10 | HandleAllStatus.dtsx 11 | 2012-04-15T19:11:52.8687579Z 12 | EncryptSensitiveWithUserKey 13 | 14 | 15 | Cleansing_split.dtsx 16 | 2011-11-02T21:07:03.8335165Z 17 | EncryptSensitiveWithUserKey 18 | 19 | 20 | Cleansing.dtsx 21 | 2012-04-15T19:08:21.1834026Z 22 | EncryptSensitiveWithUserKey 23 | 24 | 25 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch05/Ch05/DataQualityProject/obj/Development/Project.params: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "DesignPatterns", "DesignPatterns\DesignPatterns.dtproj", "{3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Development|Default = Development|Default 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}.Development|Default.ActiveCfg = Development 12 | {3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}.Development|Default.Build.0 = Development 13 | EndGlobalSection 14 | GlobalSection(SolutionProperties) = preSolution 15 | HideSolutionNode = FALSE 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/Ch06_DB2Source.dtsx: -------------------------------------------------------------------------------- 1 |  2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 34 | 35 | 37 | 38 | 39 | 40 | 41 | 47 | dev 49 | 50 | 57 | “select col1, col2 from ” + @environment + “.tab1” 59 | 60 | 61 | 62 | 70 | 71 | 72 | 76 | 77 | 86 | 87 | 0 91 | 95 | 99 | select * from table where col = ? 104 | User::query 108 | 1252 112 | false 116 | 3 121 | 125 | 126 | 127 | 133 | 134 | 135 | 138 | 140 | 141 | 145 | 146 | 152 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 174 | 175 | 177 | 178 | 180 | 184 | 185 | 186 | 187 | 189 | 190 | 192 | 196 | 197 | 198 | 199 | ]]> 200 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/DesignPatterns.database: -------------------------------------------------------------------------------- 1 |  2 | DesignPatterns 3 | DesignPatterns 4 | 0001-01-01T00:00:00Z 5 | 0001-01-01T00:00:00Z 6 | 0001-01-01T00:00:00Z 7 | Unprocessed 8 | 0001-01-01T00:00:00Z 9 | 10 | Default 11 | Unchanged 12 | 13 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/DesignPatterns.dtproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Development 6 | 7 | SQLServer2012 8 | /SSISDB/DesignPatterns/DesignPatterns 9 | 10 | 11 | false 12 | true 13 | 14 | 15 | LastModifiedTime 16 | LastModifiedTime 17 | 2011-08-21T15:05:24.7198512Z 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/Project.params: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/bin/DesignPatterns.ispac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/bin/DesignPatterns.ispac -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/bin/Development/DesignPatterns.ispac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/bin/Development/DesignPatterns.ispac -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/obj/Development/BuildLog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DesignPatterns 5 | 2012-06-25T19:36:41.2078776Z 6 | EncryptSensitiveWithUserKey 7 | 8 | 9 | 10 | Ch04_SQLServerSource.dtsx 11 | 2012-06-18T09:25:50.4593857Z 12 | EncryptSensitiveWithUserKey 13 | 14 | 15 | Ch06_DB2Source.dtsx 16 | 2012-06-25T17:02:23.5032626Z 17 | EncryptSensitiveWithUserKey 18 | 19 | 20 | ChildPackage.dtsx 21 | 2012-06-25T19:58:43.0512394Z 22 | EncryptSensitiveWithUserKey 23 | 24 | 25 | ChildPackage2.dtsx 26 | 2011-12-17T23:33:56Z 27 | EncryptSensitiveWithUserKey 28 | 29 | 30 | Ch15_Reporting.dtsx 31 | 2012-06-13T15:52:51.2225871Z 32 | EncryptSensitiveWithUserKey 33 | 34 | 35 | Ch16_DynamicChild.dtsx 36 | 2012-06-25T20:01:42.8636152Z 37 | EncryptSensitiveWithUserKey 38 | 39 | 40 | Ch16_ParentChild.dtsx 41 | 2012-06-25T20:04:20.6143222Z 42 | EncryptSensitiveWithUserKey 43 | 44 | 45 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/obj/Development/Ch06_DB2Source.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 34 | 35 | 37 | 38 | 39 | 40 | 41 | 47 | dev 49 | 50 | 57 | “select col1, col2 from ” + @environment + “.tab1” 59 | 60 | 61 | 62 | 70 | 71 | 72 | 76 | 77 | 86 | 87 | 0 91 | 95 | 99 | select * from table where col = ? 104 | User::query 108 | 1252 112 | false 116 | 3 121 | 125 | 126 | 127 | 133 | 134 | 135 | 138 | 140 | 141 | 145 | 146 | 152 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 174 | 175 | 177 | 178 | 180 | 184 | 185 | 186 | 187 | 189 | 190 | 192 | 196 | 197 | 198 | 199 | ]]> 200 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/obj/Development/Ch16_DynamicChild.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 37 | 40 | 41 | 47 | 50 | 52 | 53 | 55 | 56 | 57 | 58 | 59 | 65 | 68 | 69 | 70 | 71 | 81 | 82 | 83 | 87 | 90 | 91 | 92 | 93 | 101 | 105 | 106 | 109 | 110 | 111 | 112 | 113 | 123 | 124 | @[User::packageName] 126 | 127 | 128 | True 129 | 130 | 131 | 132 | 133 | 134 | 140 | 141 | 142 | 143 | 144 | 152 | 153 | 154 | 155 | 156 | 157 | 159 | 160 | 162 | 163 | 165 | 169 | 173 | 180 | 183 | 184 | 189 | 190 | 192 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | ]]> 206 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/obj/Development/Ch17_DynamicChild.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 37 | 40 | 42 | 43 | 45 | 46 | 47 | 48 | 49 | 55 | 58 | 59 | 60 | 61 | 71 | 72 | 73 | 77 | 80 | 81 | 82 | 83 | 91 | 95 | 96 | 99 | 100 | 101 | 102 | 103 | 113 | 114 | @[User::packageName] 116 | 117 | 118 | True 119 | 120 | 121 | 122 | 123 | 124 | 130 | 131 | 132 | 133 | 134 | 142 | 143 | 144 | 145 | 146 | 147 | 149 | 150 | 152 | 153 | 155 | 159 | 163 | 170 | 173 | 174 | 179 | 180 | 182 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | ]]> 196 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/obj/Development/ChildPackage2.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 20 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch06/Ch06/DesignPatterns/obj/Development/Project.params: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch09/Ch09/Customer.cs: -------------------------------------------------------------------------------- 1 | //------------------------------------------------------------------------------ 2 | // 3 | // This code was generated by a tool. 4 | // Runtime Version:2.0.50727.4961 5 | // 6 | // Changes to this file may cause incorrect behavior and will be lost if 7 | // the code is regenerated. 8 | // 9 | //------------------------------------------------------------------------------ 10 | 11 | // 12 | // This source code was auto-generated by xsd, Version=2.0.50727.3038. 13 | // 14 | namespace DesignPatterns.Samples { 15 | using System.Xml.Serialization; 16 | 17 | 18 | /// 19 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] 20 | [System.SerializableAttribute()] 21 | [System.Diagnostics.DebuggerStepThroughAttribute()] 22 | [System.ComponentModel.DesignerCategoryAttribute("code")] 23 | [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] 24 | [System.Xml.Serialization.XmlRootAttribute(Namespace="", IsNullable=false)] 25 | public partial class Extract { 26 | 27 | private ExtractCustomer[] customersField; 28 | 29 | private System.DateTime dateField; 30 | 31 | private bool dateFieldSpecified; 32 | 33 | /// 34 | [System.Xml.Serialization.XmlArrayItemAttribute("Customer", IsNullable=false)] 35 | public ExtractCustomer[] Customers { 36 | get { 37 | return this.customersField; 38 | } 39 | set { 40 | this.customersField = value; 41 | } 42 | } 43 | 44 | /// 45 | [System.Xml.Serialization.XmlAttributeAttribute(DataType="date")] 46 | public System.DateTime Date { 47 | get { 48 | return this.dateField; 49 | } 50 | set { 51 | this.dateField = value; 52 | } 53 | } 54 | 55 | /// 56 | [System.Xml.Serialization.XmlIgnoreAttribute()] 57 | public bool DateSpecified { 58 | get { 59 | return this.dateFieldSpecified; 60 | } 61 | set { 62 | this.dateFieldSpecified = value; 63 | } 64 | } 65 | } 66 | 67 | /// 68 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] 69 | [System.SerializableAttribute()] 70 | [System.Diagnostics.DebuggerStepThroughAttribute()] 71 | [System.ComponentModel.DesignerCategoryAttribute("code")] 72 | [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] 73 | public partial class ExtractCustomer { 74 | 75 | private ExtractCustomerName nameField; 76 | 77 | private System.DateTime birthDateField; 78 | 79 | private bool birthDateFieldSpecified; 80 | 81 | private string genderField; 82 | 83 | private uint yearlyIncomeField; 84 | 85 | private bool yearlyIncomeFieldSpecified; 86 | 87 | private string keyField; 88 | 89 | /// 90 | public ExtractCustomerName Name { 91 | get { 92 | return this.nameField; 93 | } 94 | set { 95 | this.nameField = value; 96 | } 97 | } 98 | 99 | /// 100 | [System.Xml.Serialization.XmlElementAttribute(DataType="date")] 101 | public System.DateTime BirthDate { 102 | get { 103 | return this.birthDateField; 104 | } 105 | set { 106 | this.birthDateField = value; 107 | } 108 | } 109 | 110 | /// 111 | [System.Xml.Serialization.XmlIgnoreAttribute()] 112 | public bool BirthDateSpecified { 113 | get { 114 | return this.birthDateFieldSpecified; 115 | } 116 | set { 117 | this.birthDateFieldSpecified = value; 118 | } 119 | } 120 | 121 | /// 122 | public string Gender { 123 | get { 124 | return this.genderField; 125 | } 126 | set { 127 | this.genderField = value; 128 | } 129 | } 130 | 131 | /// 132 | public uint YearlyIncome { 133 | get { 134 | return this.yearlyIncomeField; 135 | } 136 | set { 137 | this.yearlyIncomeField = value; 138 | } 139 | } 140 | 141 | /// 142 | [System.Xml.Serialization.XmlIgnoreAttribute()] 143 | public bool YearlyIncomeSpecified { 144 | get { 145 | return this.yearlyIncomeFieldSpecified; 146 | } 147 | set { 148 | this.yearlyIncomeFieldSpecified = value; 149 | } 150 | } 151 | 152 | /// 153 | [System.Xml.Serialization.XmlAttributeAttribute()] 154 | public string Key { 155 | get { 156 | return this.keyField; 157 | } 158 | set { 159 | this.keyField = value; 160 | } 161 | } 162 | } 163 | 164 | /// 165 | [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")] 166 | [System.SerializableAttribute()] 167 | [System.Diagnostics.DebuggerStepThroughAttribute()] 168 | [System.ComponentModel.DesignerCategoryAttribute("code")] 169 | [System.Xml.Serialization.XmlTypeAttribute(AnonymousType=true)] 170 | public partial class ExtractCustomerName { 171 | 172 | private string firstNameField; 173 | 174 | private string lastNameField; 175 | 176 | /// 177 | public string FirstName { 178 | get { 179 | return this.firstNameField; 180 | } 181 | set { 182 | this.firstNameField = value; 183 | } 184 | } 185 | 186 | /// 187 | public string LastName { 188 | get { 189 | return this.lastNameField; 190 | } 191 | set { 192 | this.lastNameField = value; 193 | } 194 | } 195 | } 196 | } 197 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch09/Ch09/Customer.xsd: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch09/Ch09/Customers-result.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11000 5 | Jon 6 | Yang 7 | 1966-04-08 8 | M 9 | 90000 10 | 11 | 12 | 11001 13 | Eugene 14 | Huang 15 | 1965-05-14 16 | M 17 | 60000 18 | 19 | 20 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch09/Ch09/Customers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | Jon 7 | Yang 8 | 9 | 1966-04-08 10 | M 11 | 90000 12 | 13 | 14 | 15 | Eugene 16 | Huang 17 | 18 | 1965-05-14 19 | M 20 | 60000 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch09/Ch09/Customers.xsl: -------------------------------------------------------------------------------- 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 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch09/Ch09/XmlReader.linq: -------------------------------------------------------------------------------- 1 | 2 | 3 | void Main() 4 | { 5 | foreach (var xdata in ( 6 | from customer in StreamReader(@"C:\Users\mmasson\Desktop\Mesh\Design Patterns\XML\Customers.xml", "Customer") 7 | select new 8 | { 9 | Key = Convert.ToInt32(customer.Attribute("Key").Value), 10 | FirstName = customer.Element("Name").Element("FirstName").Value, 11 | LastName = customer.Element("Name").Element("LastName").Value, 12 | BirthDate = customer.Element("BirthDate").Value, 13 | Gender = customer.Element("Gender").Value, 14 | YearlyIncome = customer.Element("YearlyIncome").Value, 15 | } 16 | )) 17 | { 18 | Console.WriteLine(xdata); 19 | } 20 | 21 | } 22 | 23 | static IEnumerable StreamReader(String filename, string elementName) 24 | { 25 | using (XmlReader xr = XmlReader.Create(filename)) 26 | { 27 | xr.MoveToContent(); 28 | 29 | while (xr.Read()) //Reads the first element 30 | { 31 | while (xr.NodeType == XmlNodeType.Element && xr.Name == elementName) 32 | { 33 | XElement node = (XElement)XElement.ReadFrom(xr); 34 | yield return node; 35 | } 36 | } 37 | 38 | xr.Close(); 39 | } 40 | } 41 | 42 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch09/Ch09/main_xmlreader.cs: -------------------------------------------------------------------------------- 1 | /* Microsoft SQL Server Integration Services Script Component 2 | * Write scripts using Microsoft Visual C# 2010. 3 | * ScriptMain is the entry point class of the script.*/ 4 | 5 | using System; 6 | using System.Data; 7 | using Microsoft.SqlServer.Dts.Pipeline.Wrapper; 8 | using Microsoft.SqlServer.Dts.Runtime.Wrapper; 9 | using System.IO; 10 | using System.Xml.Serialization; 11 | using System.Xml; 12 | using System.Collections.Generic; 13 | using System.Xml.Linq; 14 | using System.Linq; 15 | 16 | [Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute] 17 | public class ScriptMain : UserComponent 18 | { 19 | string pathToXmlFile; 20 | 21 | public override void AcquireConnections(object Transaction) 22 | { 23 | // Call the base class 24 | base.AcquireConnections(Transaction); 25 | 26 | // The File Connection Manager's AcquireConnection() method returns us the path as a string. 27 | pathToXmlFile = (string)Connections.CustomerFile.AcquireConnection(Transaction); 28 | } 29 | 30 | public override void PreExecute() 31 | { 32 | // Call the base class 33 | base.PreExecute(); 34 | 35 | // Make sure the file path exists 36 | if (!File.Exists(pathToXmlFile)) 37 | { 38 | string errorMessage = string.Format("Source XML file does not exist. Path: {0}", pathToXmlFile); 39 | bool bCancel; 40 | ComponentMetaData.FireError(0, ComponentMetaData.Name, errorMessage, string.Empty, 0, out bCancel); 41 | } 42 | } 43 | 44 | public override void CreateNewOutputRows() 45 | { 46 | foreach (var xdata in ( 47 | from customer in StreamReader(pathToXmlFile, "Customer") 48 | select new 49 | { 50 | Key = customer.Attribute("Key").Value, 51 | FirstName = customer.Element("Name").Element("FirstName").Value, 52 | LastName = customer.Element("Name").Element("LastName").Value, 53 | BirthDate = customer.Element("BirthDate").Value, 54 | Gender = customer.Element("Gender").Value, 55 | YearlyIncome = customer.Element("YearlyIncome").Value, 56 | } 57 | )) 58 | { 59 | try 60 | { 61 | CustomersBuffer.AddRow(); 62 | CustomersBuffer.Key = Convert.ToInt32(xdata.Key); 63 | CustomersBuffer.FirstName = xdata.FirstName; 64 | CustomersBuffer.LastName = xdata.LastName; 65 | CustomersBuffer.BirthDate = Convert.ToDateTime(xdata.BirthDate); 66 | CustomersBuffer.Gender = xdata.Gender; 67 | CustomersBuffer.YearlyIncome = Convert.ToDecimal(xdata.YearlyIncome); 68 | } 69 | catch (Exception e) 70 | { 71 | string errorMessage = string.Format("Error retrieving data. Exception message: {0}", e.Message); 72 | bool bCancel; 73 | ComponentMetaData.FireError(0, ComponentMetaData.Name, errorMessage, string.Empty, 0, out bCancel); 74 | } 75 | } 76 | } 77 | 78 | static IEnumerable StreamReader(String filename, string elementName) 79 | { 80 | using (XmlReader xr = XmlReader.Create(filename)) 81 | { 82 | xr.MoveToContent(); 83 | 84 | while (xr.Read()) //Reads the first element 85 | { 86 | while (xr.NodeType == XmlNodeType.Element && xr.Name == elementName) 87 | { 88 | XElement node = (XElement)XElement.ReadFrom(xr); 89 | yield return node; 90 | } 91 | } 92 | 93 | xr.Close(); 94 | } 95 | } 96 | 97 | public override void ReleaseConnections() 98 | { 99 | // Call the base class 100 | base.ReleaseConnections(); 101 | 102 | // Release our connection 103 | Connections.CustomerFile.ReleaseConnection(pathToXmlFile); 104 | } 105 | } 106 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch12/CH12/CH12.database: -------------------------------------------------------------------------------- 1 |  2 | CH12 3 | CH12 4 | 0001-01-01T00:00:00Z 5 | 0001-01-01T00:00:00Z 6 | 0001-01-01T00:00:00Z 7 | Unprocessed 8 | 0001-01-01T00:00:00Z 9 | 10 | Default 11 | Unchanged 12 | 13 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch12/CH12/CH12.dtproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | Project 4 | 12.0.2344.23 5 | 9.0.1.0 6 | $base64$PFNvdXJjZUNvbnRyb2xJbmZvIHhtbG5zOnhzZD0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEiIHhtbG5zOnhzaT0iaHR0cDovL3d3dy53My5vcmcvMjAwMS9YTUxTY2hlbWEtaW5zdGFuY2UiIHhtbG5zOmRkbDI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDAzL2VuZ2luZS8yIiB4bWxuczpkZGwyXzI9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDAzL2VuZ2luZS8yLzIiIHhtbG5zOmRkbDEwMF8xMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDA4L2VuZ2luZS8xMDAvMTAwIiB4bWxuczpkZGwyMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEwL2VuZ2luZS8yMDAiIHhtbG5zOmRkbDIwMF8yMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEwL2VuZ2luZS8yMDAvMjAwIiB4bWxuczpkZGwzMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDExL2VuZ2luZS8zMDAiIHhtbG5zOmRkbDMwMF8zMDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDExL2VuZ2luZS8zMDAvMzAwIiB4bWxuczpkZGw0MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEyL2VuZ2luZS80MDAiIHhtbG5zOmRkbDQwMF80MDA9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vYW5hbHlzaXNzZXJ2aWNlcy8yMDEyL2VuZ2luZS80MDAvNDAwIiB4bWxuczpkd2Q9Imh0dHA6Ly9zY2hlbWFzLm1pY3Jvc29mdC5jb20vRGF0YVdhcmVob3VzZS9EZXNpZ25lci8xLjAiPg0KICA8RW5hYmxlZD5mYWxzZTwvRW5hYmxlZD4NCiAgPFByb2plY3ROYW1lPjwvUHJvamVjdE5hbWU+DQogIDxBdXhQYXRoPjwvQXV4UGF0aD4NCiAgPExvY2FsUGF0aD48L0xvY2FsUGF0aD4NCiAgPFByb3ZpZGVyPjwvUHJvdmlkZXI+DQo8L1NvdXJjZUNvbnRyb2xJbmZvPg== 7 | 8 | CH12.database 9 | CH12.database 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | {d503e43a-9af6-478a-9094-9859f1898efa} 18 | CH12 19 | 1 20 | 0 21 | 0 22 | 23 | 24 | 2014-07-27T13:43:19.7726417-07:00 25 | REDMOND\mmasson 26 | MMW520 27 | 28 | 29 | AQAAANCMnd8BFdERjHoAwE/Cl+sBAAAA7YPY5SYbLUOXLnUsVMOr1QAAAAACAAAAAAADZgAAwAAAABAAAABXEgvJahqPRN7ERASiusuYAAAAAASAAACgAAAAEAAAAEJtEm+BB3xIM96orr/ga/yIAAAArEPK5x1JlmZr30HAJrOWW3RoMQWKMUho8SZFj3I7VLuodAeeWN6aZsWxCH7uM7vXmlXq22xsfh7dPOKhJhoBuNgT4RmKKFmGDUgRFrGkfTZg3GKEB8zmdYXORsGmDY++GU8larbrOLR9FpakKHPTJev2iZY0vLc/JAsJEK5gGaj+gM5a383pqBQAAAA3ukxm6jLnoK1aCGTAfan+toc45Q== 30 | 1 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | {BFE0513E-7AEA-476C-AFA0-442DC480B909} 42 | Package 43 | 1 44 | 0 45 | 5 46 | 47 | 48 | {558A5C59-B98E-481D-BA13-CABC875CC71A} 49 | 8 50 | 51 | 52 | 1 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 0 64 | 0 65 | 0 66 | Service Document Url=http://services.odata.org/northwind/northwind.svc/;Include Atom Elements=Auto;Include Expanded Entities=False;Integrated Security=SSPI;Persist Security Info=False;Time Out=600;Schema Sample Size=25;Retry Count=5;Retry Sleep=100;Keep Alive=True;Max Received Message Size=4398046511104 67 | 18 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 0 79 | 0 80 | 0 81 | false 82 | 3 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 0 94 | 0 95 | 0 96 | 18 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 0 108 | 0 109 | 0 110 | http://services.odata.org/northwind/northwind.svc/ 111 | 18 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 0 123 | 0 124 | 0 125 | 18 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | Development 139 | 140 | bin 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch12/CH12/CH12.dtproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Development 6 | 7 | true 8 | 9 | 10 | false 11 | true 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch12/CH12/CH12.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 12.00 3 | # Visual Studio 2013 4 | VisualStudioVersion = 12.0.30501.0 5 | MinimumVisualStudioVersion = 10.0.40219.1 6 | Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "CH12", "CH12.dtproj", "{DE513037-9C9D-4C81-ACD3-0CBDA026CC45}" 7 | EndProject 8 | Global 9 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 10 | Development|Default = Development|Default 11 | EndGlobalSection 12 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 13 | {DE513037-9C9D-4C81-ACD3-0CBDA026CC45}.Development|Default.ActiveCfg = Development 14 | {DE513037-9C9D-4C81-ACD3-0CBDA026CC45}.Development|Default.Build.0 = Development 15 | EndGlobalSection 16 | GlobalSection(SolutionProperties) = preSolution 17 | HideSolutionNode = FALSE 18 | EndGlobalSection 19 | EndGlobal 20 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch12/CH12/CH12.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch12/CH12/CH12.suo -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch12/CH12/CH12.v12.suo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch12/CH12/CH12.v12.suo -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch12/CH12/Project.params: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch13/Ch13/Chapter13.database: -------------------------------------------------------------------------------- 1 |  2 | Chapter13 3 | Chapter13 4 | 0001-01-01T00:00:00Z 5 | 0001-01-01T00:00:00Z 6 | 0001-01-01T00:00:00Z 7 | Unprocessed 8 | 0001-01-01T00:00:00Z 9 | 10 | Default 11 | Unchanged 12 | 13 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch13/Ch13/Chapter13.dtproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Development 6 | 7 | 8 | 9 | false 10 | true 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch13/Ch13/Chapter13.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "Chapter13", "Chapter13\Chapter13.dtproj", "{150D2733-6504-4430-955A-000B00A0ED5A}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Development|Default = Development|Default 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {150D2733-6504-4430-955A-000B00A0ED5A}.Development|Default.ActiveCfg = Development 12 | {150D2733-6504-4430-955A-000B00A0ED5A}.Development|Default.Build.0 = Development 13 | EndGlobalSection 14 | GlobalSection(SolutionProperties) = preSolution 15 | HideSolutionNode = FALSE 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch13/Ch13/Project.params: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "DesignPatterns", "DesignPatterns\DesignPatterns.dtproj", "{3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Development|Default = Development|Default 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}.Development|Default.ActiveCfg = Development 12 | {3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}.Development|Default.Build.0 = Development 13 | EndGlobalSection 14 | GlobalSection(SolutionProperties) = preSolution 15 | HideSolutionNode = FALSE 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/DesignPatterns.database: -------------------------------------------------------------------------------- 1 |  2 | DesignPatterns 3 | DesignPatterns 4 | 0001-01-01T00:00:00Z 5 | 0001-01-01T00:00:00Z 6 | 0001-01-01T00:00:00Z 7 | Unprocessed 8 | 0001-01-01T00:00:00Z 9 | 10 | Default 11 | Unchanged 12 | 13 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/DesignPatterns.dtproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Development 6 | 7 | SQLServer2012 8 | /SSISDB/DesignPatterns/DesignPatterns 9 | 10 | 11 | false 12 | true 13 | 14 | 15 | LastModifiedTime 16 | LastModifiedTime 17 | 2011-08-21T15:05:24.7198512Z 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/Project.params: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/bin/DesignPatterns.ispac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/bin/DesignPatterns.ispac -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/bin/Development/DesignPatterns.ispac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/bin/Development/DesignPatterns.ispac -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/obj/Development/BuildLog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DesignPatterns 5 | 2012-06-25T19:36:41.2078776Z 6 | EncryptSensitiveWithUserKey 7 | 8 | 9 | 10 | Ch04_SQLServerSource.dtsx 11 | 2012-06-18T09:25:50.4593857Z 12 | EncryptSensitiveWithUserKey 13 | 14 | 15 | Ch06_DB2Source.dtsx 16 | 2012-06-25T17:02:23.5032626Z 17 | EncryptSensitiveWithUserKey 18 | 19 | 20 | ChildPackage.dtsx 21 | 2012-06-25T19:58:43.0512394Z 22 | EncryptSensitiveWithUserKey 23 | 24 | 25 | ChildPackage2.dtsx 26 | 2011-12-17T23:33:56Z 27 | EncryptSensitiveWithUserKey 28 | 29 | 30 | Ch15_Reporting.dtsx 31 | 2012-06-13T15:52:51.2225871Z 32 | EncryptSensitiveWithUserKey 33 | 34 | 35 | Ch16_DynamicChild.dtsx 36 | 2012-06-25T20:01:42.8636152Z 37 | EncryptSensitiveWithUserKey 38 | 39 | 40 | Ch16_ParentChild.dtsx 41 | 2012-06-25T20:04:20.6143222Z 42 | EncryptSensitiveWithUserKey 43 | 44 | 45 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/obj/Development/Ch06_DB2Source.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 34 | 35 | 37 | 38 | 39 | 40 | 41 | 47 | dev 49 | 50 | 57 | “select col1, col2 from ” + @environment + “.tab1” 59 | 60 | 61 | 62 | 70 | 71 | 72 | 76 | 77 | 86 | 87 | 0 91 | 95 | 99 | select * from table where col = ? 104 | User::query 108 | 1252 112 | false 116 | 3 121 | 125 | 126 | 127 | 133 | 134 | 135 | 138 | 140 | 141 | 145 | 146 | 152 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 174 | 175 | 177 | 178 | 180 | 184 | 185 | 186 | 187 | 189 | 190 | 192 | 196 | 197 | 198 | 199 | ]]> 200 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/obj/Development/Ch16_DynamicChild.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 37 | 40 | 41 | 47 | 50 | 52 | 53 | 55 | 56 | 57 | 58 | 59 | 65 | 68 | 69 | 70 | 71 | 81 | 82 | 83 | 87 | 90 | 91 | 92 | 93 | 101 | 105 | 106 | 109 | 110 | 111 | 112 | 113 | 123 | 124 | @[User::packageName] 126 | 127 | 128 | True 129 | 130 | 131 | 132 | 133 | 134 | 140 | 141 | 142 | 143 | 144 | 152 | 153 | 154 | 155 | 156 | 157 | 159 | 160 | 162 | 163 | 165 | 169 | 173 | 180 | 183 | 184 | 189 | 190 | 192 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | ]]> 206 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/obj/Development/Ch17_DynamicChild.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 37 | 40 | 42 | 43 | 45 | 46 | 47 | 48 | 49 | 55 | 58 | 59 | 60 | 61 | 71 | 72 | 73 | 77 | 80 | 81 | 82 | 83 | 91 | 95 | 96 | 99 | 100 | 101 | 102 | 103 | 113 | 114 | @[User::packageName] 116 | 117 | 118 | True 119 | 120 | 121 | 122 | 123 | 124 | 130 | 131 | 132 | 133 | 134 | 142 | 143 | 144 | 145 | 146 | 147 | 149 | 150 | 152 | 153 | 155 | 159 | 163 | 170 | 173 | 174 | 179 | 180 | 182 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | ]]> 196 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/obj/Development/ChildPackage2.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 20 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch15/Ch15/DesignPatterns/obj/Development/Project.params: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "DesignPatterns", "DesignPatterns\DesignPatterns.dtproj", "{3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Development|Default = Development|Default 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}.Development|Default.ActiveCfg = Development 12 | {3B2DEA03-D529-4624-BA8E-E8BB6486CF0B}.Development|Default.Build.0 = Development 13 | EndGlobalSection 14 | GlobalSection(SolutionProperties) = preSolution 15 | HideSolutionNode = FALSE 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/Ch16_DynamicChild.dtsx: -------------------------------------------------------------------------------- 1 |  2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 37 | 40 | 41 | 47 | 50 | 52 | 53 | 55 | 56 | 57 | 58 | 59 | 65 | 68 | 69 | 70 | 71 | 81 | 82 | 83 | 87 | 90 | 91 | 92 | 93 | 101 | 105 | 106 | 109 | 110 | 111 | 112 | 113 | 123 | 124 | @[User::packageName] 126 | 127 | 128 | True 129 | 130 | 131 | 132 | 133 | 134 | 140 | 141 | 142 | 143 | 144 | 152 | 153 | 154 | 155 | 156 | 157 | 159 | 160 | 162 | 163 | 165 | 169 | 173 | 180 | 183 | 184 | 189 | 190 | 192 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | ]]> 206 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/ChildPackage2.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 20 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/DesignPatterns.database: -------------------------------------------------------------------------------- 1 |  2 | DesignPatterns 3 | DesignPatterns 4 | 0001-01-01T00:00:00Z 5 | 0001-01-01T00:00:00Z 6 | 0001-01-01T00:00:00Z 7 | Unprocessed 8 | 0001-01-01T00:00:00Z 9 | 10 | Default 11 | Unchanged 12 | 13 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/DesignPatterns.dtproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Development 6 | 7 | SQLServer2012 8 | /SSISDB/DesignPatterns/DesignPatterns 9 | 10 | 11 | false 12 | true 13 | 14 | 15 | LastModifiedTime 16 | LastModifiedTime 17 | 2011-08-21T15:05:24.7198512Z 18 | 19 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/Project.params: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/bin/DesignPatterns.ispac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/bin/DesignPatterns.ispac -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/bin/Development/DesignPatterns.ispac: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/bin/Development/DesignPatterns.ispac -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/obj/Development/BuildLog.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | DesignPatterns 5 | 2012-06-25T19:36:41.2078776Z 6 | EncryptSensitiveWithUserKey 7 | 8 | 9 | 10 | Ch04_SQLServerSource.dtsx 11 | 2012-06-18T09:25:50.4593857Z 12 | EncryptSensitiveWithUserKey 13 | 14 | 15 | Ch06_DB2Source.dtsx 16 | 2012-06-25T17:02:23.5032626Z 17 | EncryptSensitiveWithUserKey 18 | 19 | 20 | ChildPackage.dtsx 21 | 2012-06-25T19:58:43.0512394Z 22 | EncryptSensitiveWithUserKey 23 | 24 | 25 | ChildPackage2.dtsx 26 | 2011-12-17T23:33:56Z 27 | EncryptSensitiveWithUserKey 28 | 29 | 30 | Ch15_Reporting.dtsx 31 | 2012-06-13T15:52:51.2225871Z 32 | EncryptSensitiveWithUserKey 33 | 34 | 35 | Ch16_DynamicChild.dtsx 36 | 2012-06-25T20:01:42.8636152Z 37 | EncryptSensitiveWithUserKey 38 | 39 | 40 | Ch16_ParentChild.dtsx 41 | 2012-06-25T20:04:20.6143222Z 42 | EncryptSensitiveWithUserKey 43 | 44 | 45 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/obj/Development/Ch06_DB2Source.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 34 | 35 | 37 | 38 | 39 | 40 | 41 | 47 | dev 49 | 50 | 57 | “select col1, col2 from ” + @environment + “.tab1” 59 | 60 | 61 | 62 | 70 | 71 | 72 | 76 | 77 | 86 | 87 | 0 91 | 95 | 99 | select * from table where col = ? 104 | User::query 108 | 1252 112 | false 116 | 3 121 | 125 | 126 | 127 | 133 | 134 | 135 | 138 | 140 | 141 | 145 | 146 | 152 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 174 | 175 | 177 | 178 | 180 | 184 | 185 | 186 | 187 | 189 | 190 | 192 | 196 | 197 | 198 | 199 | ]]> 200 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/obj/Development/Ch16_DynamicChild.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 37 | 40 | 41 | 47 | 50 | 52 | 53 | 55 | 56 | 57 | 58 | 59 | 65 | 68 | 69 | 70 | 71 | 81 | 82 | 83 | 87 | 90 | 91 | 92 | 93 | 101 | 105 | 106 | 109 | 110 | 111 | 112 | 113 | 123 | 124 | @[User::packageName] 126 | 127 | 128 | True 129 | 130 | 131 | 132 | 133 | 134 | 140 | 141 | 142 | 143 | 144 | 152 | 153 | 154 | 155 | 156 | 157 | 159 | 160 | 162 | 163 | 165 | 169 | 173 | 180 | 183 | 184 | 189 | 190 | 192 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | ]]> 206 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/obj/Development/Ch17_DynamicChild.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 24 | 25 | 27 | 28 | 29 | 30 | 31 | 37 | 40 | 42 | 43 | 45 | 46 | 47 | 48 | 49 | 55 | 58 | 59 | 60 | 61 | 71 | 72 | 73 | 77 | 80 | 81 | 82 | 83 | 91 | 95 | 96 | 99 | 100 | 101 | 102 | 103 | 113 | 114 | @[User::packageName] 116 | 117 | 118 | True 119 | 120 | 121 | 122 | 123 | 124 | 130 | 131 | 132 | 133 | 134 | 142 | 143 | 144 | 145 | 146 | 147 | 149 | 150 | 152 | 153 | 155 | 159 | 163 | 170 | 173 | 174 | 179 | 180 | 182 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | ]]> 196 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/obj/Development/ChildPackage2.dtsx: -------------------------------------------------------------------------------- 1 | 2 | 16 | 6 18 | 19 | 20 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch16/Ch16/DesignPatterns/obj/Development/Project.params: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch17/Ch17/ConfigurationChapter.database: -------------------------------------------------------------------------------- 1 |  2 | ConfigurationChapter 3 | ConfigurationChapter 4 | 0001-01-01T00:00:00Z 5 | 0001-01-01T00:00:00Z 6 | 0001-01-01T00:00:00Z 7 | Unprocessed 8 | 0001-01-01T00:00:00Z 9 | 10 | Default 11 | Unchanged 12 | 13 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch17/Ch17/ConfigurationChapter.dtproj.user: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Development 6 | 7 | 8 | 9 | false 10 | true 11 | 12 | 13 | LastModifiedTime 14 | LastModifiedTime 15 | 2011-10-16T17:44:16.134637Z 16 | 17 | 18 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch17/Ch17/ConfigurationChapter.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{159641D6-6404-4A2A-AE62-294DE0FE8301}") = "ConfigurationChapter", "ConfigurationChapter.dtproj", "{18A9FCD7-A981-4B79-97A6-D528679B7C41}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Development|Default = Development|Default 9 | EndGlobalSection 10 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 11 | {18A9FCD7-A981-4B79-97A6-D528679B7C41}.Development|Default.ActiveCfg = Development 12 | {18A9FCD7-A981-4B79-97A6-D528679B7C41}.Development|Default.Build.0 = Development 13 | EndGlobalSection 14 | GlobalSection(SolutionProperties) = preSolution 15 | HideSolutionNode = FALSE 16 | EndGlobalSection 17 | EndGlobal 18 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch17/Ch17/Project.params: -------------------------------------------------------------------------------- 1 |  2 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch18/Ch18/MomDeployment.csproj: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | Debug 5 | x86 6 | 8.0.30703 7 | 2.0 8 | {5830E3DA-3BB3-4DB3-85A5-A53B81F2AD02} 9 | Exe 10 | Properties 11 | MomDeployment 12 | MomDeployment 13 | v4.0 14 | 15 | 16 | 512 17 | 18 | 19 | x86 20 | true 21 | full 22 | false 23 | bin\Debug\ 24 | DEBUG;TRACE 25 | prompt 26 | 4 27 | 28 | 29 | x86 30 | pdbonly 31 | true 32 | bin\Release\ 33 | TRACE 34 | prompt 35 | 4 36 | 37 | 38 | 39 | 40 | False 41 | ..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.ManagedDTS\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.ManagedDTS.dll 42 | 43 | 44 | False 45 | ..\..\..\..\..\..\Windows\Microsoft.NET\assembly\GAC_MSIL\Microsoft.SqlServer.Management.IntegrationServices\v4.0_11.0.0.0__89845dcd8080cc91\Microsoft.SqlServer.Management.IntegrationServices.dll 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 73 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch18/Ch18/MomDeployment.sln: -------------------------------------------------------------------------------- 1 |  2 | Microsoft Visual Studio Solution File, Format Version 11.00 3 | # Visual Studio 2010 4 | Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MomDeployment", "MomDeployment.csproj", "{5830E3DA-3BB3-4DB3-85A5-A53B81F2AD02}" 5 | EndProject 6 | Global 7 | GlobalSection(SolutionConfigurationPlatforms) = preSolution 8 | Debug|x86 = Debug|x86 9 | Release|x86 = Release|x86 10 | EndGlobalSection 11 | GlobalSection(ProjectConfigurationPlatforms) = postSolution 12 | {5830E3DA-3BB3-4DB3-85A5-A53B81F2AD02}.Debug|x86.ActiveCfg = Debug|x86 13 | {5830E3DA-3BB3-4DB3-85A5-A53B81F2AD02}.Debug|x86.Build.0 = Debug|x86 14 | {5830E3DA-3BB3-4DB3-85A5-A53B81F2AD02}.Release|x86.ActiveCfg = Release|x86 15 | {5830E3DA-3BB3-4DB3-85A5-A53B81F2AD02}.Release|x86.Build.0 = Release|x86 16 | EndGlobalSection 17 | GlobalSection(SolutionProperties) = preSolution 18 | HideSolutionNode = FALSE 19 | EndGlobalSection 20 | EndGlobal 21 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch18/Ch18/Program.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using System.Text; 5 | using Microsoft.SqlServer.Management.IntegrationServices; 6 | using Microsoft.SqlServer.Management.Smo; 7 | using Microsoft.SqlServer.Dts.Runtime; 8 | using System.IO; 9 | 10 | namespace MomDeployment 11 | { 12 | class Program 13 | { 14 | const string ProjectFileLocation = @"C:\ETL\Project.ispac"; 15 | 16 | static void Main(string[] args) 17 | { 18 | // Connect to the default instance on localhost 19 | var server = new Server("localhost"); 20 | var store = new IntegrationServices(server); 21 | 22 | // Check that we have a catalog 23 | if (store.Catalogs.Count == 0) 24 | { 25 | Console.WriteLine("SSIS catalog not found on localhost."); 26 | } 27 | 28 | // Get the SSISDB catalog - note that there should only 29 | // be one, but the API may support multiple catalogs 30 | // in the future 31 | var catalog = store.Catalogs["SSISDB"]; 32 | 33 | // Create a new folder 34 | var folder = new CatalogFolder(catalog, 35 | "MyFolder", 36 | "Folder that holds projects"); 37 | folder.Create(); 38 | 39 | // Make sure the project file exists 40 | if (!File.Exists(ProjectFileLocation)) 41 | { 42 | Console.WriteLine("Project file not found at: {0}", 43 | ProjectFileLocation); 44 | } 45 | 46 | // Load the project using the SSIS API 47 | var project = Project.OpenProject(ProjectFileLocation); 48 | 49 | // Deploy the project to the folder we just created 50 | folder.DeployProject(project); 51 | } 52 | } 53 | } 54 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch18/Ch18/Properties/AssemblyInfo.cs: -------------------------------------------------------------------------------- 1 | using System.Reflection; 2 | using System.Runtime.CompilerServices; 3 | using System.Runtime.InteropServices; 4 | 5 | // General Information about an assembly is controlled through the following 6 | // set of attributes. Change these attribute values to modify the information 7 | // associated with an assembly. 8 | [assembly: AssemblyTitle("MomDeployment")] 9 | [assembly: AssemblyDescription("")] 10 | [assembly: AssemblyConfiguration("")] 11 | [assembly: AssemblyCompany("Microsoft")] 12 | [assembly: AssemblyProduct("MomDeployment")] 13 | [assembly: AssemblyCopyright("Copyright © Microsoft 2011")] 14 | [assembly: AssemblyTrademark("")] 15 | [assembly: AssemblyCulture("")] 16 | 17 | // Setting ComVisible to false makes the types in this assembly not visible 18 | // to COM components. If you need to access a type in this assembly from 19 | // COM, set the ComVisible attribute to true on that type. 20 | [assembly: ComVisible(false)] 21 | 22 | // The following GUID is for the ID of the typelib if this project is exposed to COM 23 | [assembly: Guid("ba28dd8f-f48b-4e5c-aa26-94c1511435df")] 24 | 25 | // Version information for an assembly consists of the following four values: 26 | // 27 | // Major Version 28 | // Minor Version 29 | // Build Number 30 | // Revision 31 | // 32 | // You can specify all the values or you can default the Build and Revision Numbers 33 | // by using the '*' as shown below: 34 | // [assembly: AssemblyVersion("1.0.*")] 35 | [assembly: AssemblyVersion("1.0.0.0")] 36 | [assembly: AssemblyFileVersion("1.0.0.0")] 37 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch18/Ch18/app.config: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch19_BIML2014_ExampleScripts.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch19_BIML2014_ExampleScripts.zip -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_Ch20_BIML2014_ExampleScripts.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_Ch20_BIML2014_ExampleScripts.zip -------------------------------------------------------------------------------- /978-1-4842-0083-4/978-1-4842-0083-4_ch01_ExampleScripts.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/978-1-4842-0083-4_ch01_ExampleScripts.zip -------------------------------------------------------------------------------- /978-1-4842-0083-4/Appendix_A_SourceCode.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/978-1-4842-0083-4/Appendix_A_SourceCode.zip -------------------------------------------------------------------------------- /9781484200834.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/9781484200834.jpg -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Apress/sql-server-intg-services-design-patterns/f21e9aebc901e9086235089be4f05d6b587e693d/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Apress Source Code 2 | 3 | This repository accompanies [*SQL Server Integration Services Design Patterns*](http://www.apress.com/9781484200834) by Tim Mitchell, Matt Masson, Andy Leonard, Jessica Moss, and Michelle Ufford (Apress, 2014). 4 | 5 | [comment]: #cover 6 | ![Cover image](9781484200834.jpg) 7 | 8 | Download the files as a zip using the green button, or clone the repository to your machine using Git. 9 | 10 | ## Releases 11 | 12 | Release v1.0 corresponds to the code in the published book, without corrections or updates. 13 | 14 | ## Contributions 15 | 16 | See the file Contributing.md for more information on how you can contribute to this repository. 17 | -------------------------------------------------------------------------------- /contributing.md: -------------------------------------------------------------------------------- 1 | # Contributing to Apress Source Code 2 | 3 | Copyright for Apress source code belongs to the author(s). However, under fair use you are encouraged to fork and contribute minor corrections and updates for the benefit of the author(s) and other readers. 4 | 5 | ## How to Contribute 6 | 7 | 1. Make sure you have a GitHub account. 8 | 2. Fork the repository for the relevant book. 9 | 3. Create a new branch on which to make your change, e.g. 10 | `git checkout -b my_code_contribution` 11 | 4. Commit your change. Include a commit message describing the correction. Please note that if your commit message is not clear, the correction will not be accepted. 12 | 5. Submit a pull request. 13 | 14 | Thank you for your contribution! --------------------------------------------------------------------------------