-
Notifications
You must be signed in to change notification settings - Fork 0
/
Product.dtsx
1331 lines (1325 loc) · 67 KB
/
Product.dtsx
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
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0"?>
<DTS:Executable xmlns:DTS="www.microsoft.com/SqlServer/Dts"
DTS:refId="Package"
DTS:CreationDate="3/23/2008"
DTS:CreationName="Microsoft.Package"
DTS:CreatorComputerName=""
DTS:CreatorName=""
DTS:DTSID="{74BF5B2C-1017-4015-8B4A-36EEEFD44C06}"
DTS:ExecutableType="Microsoft.Package"
DTS:LastModifiedProductVersion="15.0.2000.123"
DTS:LocaleID="1033"
DTS:ObjectName="Product"
DTS:PackageType="5"
DTS:VersionBuild="54"
DTS:VersionGUID="{DB961342-3D57-4A6B-8650-12A3D11F48E8}">
<DTS:Property
DTS:Name="PackageFormatVersion">8</DTS:Property>
<DTS:ConnectionManagers>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[Destination]"
DTS:CreationName="OLEDB"
DTS:DTSID="{87FEE2FF-BC0D-4C86-9A22-7EBA384494D7}"
DTS:ObjectName="Destination">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:ConnectionString="Data Source=.;Initial Catalog=Sandbox;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;" />
</DTS:ObjectData>
</DTS:ConnectionManager>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[OriginalProductList]"
DTS:CreationName="FILE"
DTS:DTSID="{B08DD307-7370-47FF-9F80-1E64EDD2E780}"
DTS:ObjectName="OriginalProductList">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:ConnectionString="C:\Users\nishant-mishra\source\repos\ProductPackage\ProductList.txt" />
</DTS:ObjectData>
</DTS:ConnectionManager>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[StagedProductList]"
DTS:CreationName="FLATFILE"
DTS:DTSID="{24C010CD-93A0-4C46-82B1-7F407EEA2F04}"
DTS:ObjectName="StagedProductList">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:Format="Delimited"
DTS:LocaleID="1033"
DTS:HeaderRowDelimiter="_x000D__x000A_"
DTS:RowDelimiter=""
DTS:TextQualifier="_x003C_none_x003E_"
DTS:CodePage="1252"
DTS:ConnectionString="C:\Users\nishant-mishra\source\repos\ProductPackage\temp\ProductList.txt">
<DTS:FlatFileColumns>
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x0009_"
DTS:MaximumWidth="50"
DTS:DataType="129"
DTS:TextQualified="True"
DTS:ObjectName="Column 0"
DTS:DTSID="{E9E41D47-D59D-41BC-B60C-3B63A9EEC79D}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x0009_"
DTS:MaximumWidth="50"
DTS:DataType="129"
DTS:TextQualified="True"
DTS:ObjectName="Column 1"
DTS:DTSID="{8ED54CC6-38B9-47C9-B466-546F8D98C883}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x0009_"
DTS:MaximumWidth="50"
DTS:DataType="129"
DTS:TextQualified="True"
DTS:ObjectName="Column 2"
DTS:DTSID="{C6634953-152B-4087-BF59-0A46F9EEF1CF}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x0009_"
DTS:MaximumWidth="50"
DTS:DataType="129"
DTS:TextQualified="True"
DTS:ObjectName="Column 3"
DTS:DTSID="{07732B04-DA43-463A-A245-B7D5090D871C}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x0009_"
DTS:DataType="14"
DTS:TextQualified="True"
DTS:ObjectName="Column 4"
DTS:DTSID="{0A9ABB27-9EEE-42CB-9707-1A26487FF25F}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x000D__x000A_"
DTS:DataType="131"
DTS:DataPrecision="18"
DTS:TextQualified="True"
DTS:ObjectName="Column 5"
DTS:DTSID="{B15F4C23-48E1-453D-82DE-F3B36BF09779}"
DTS:CreationName="" />
</DTS:FlatFileColumns>
</DTS:ConnectionManager>
</DTS:ObjectData>
</DTS:ConnectionManager>
</DTS:ConnectionManagers>
<DTS:Variables>
<DTS:Variable
DTS:CreationName=""
DTS:DTSID="{A76830D5-B78A-4621-9C88-7E6CA826F359}"
DTS:IncludeInDebugDump="6789"
DTS:Namespace="User"
DTS:ObjectName="fileExists">
<DTS:VariableValue
DTS:DataType="11">0</DTS:VariableValue>
</DTS:Variable>
<DTS:Variable
DTS:CreationName=""
DTS:DTSID="{A2AC1971-1D6D-46C6-AAFB-6D4684FB77FD}"
DTS:IncludeInDebugDump="6789"
DTS:Namespace="User"
DTS:ObjectName="sourceRows">
<DTS:VariableValue
DTS:DataType="3">0</DTS:VariableValue>
</DTS:Variable>
</DTS:Variables>
<DTS:Executables>
<DTS:Executable
DTS:refId="Package\Check for File"
DTS:CreationName="Microsoft.ScriptTask"
DTS:Description="Script Task"
DTS:DTSID="{341AEAA1-408B-4593-93E5-469AFF357E69}"
DTS:ExecutableType="Microsoft.ScriptTask"
DTS:LocaleID="-1"
DTS:ObjectName="Check for File"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<ScriptProject
Name="ScriptTask_8e2024e76dbd4ed4baea0372bfdcf60c"
VSTAMajorVersion="3"
VSTAMinorVersion="0"
Language="VisualBasic">
<ProjectItem
Name="ScriptMain.vb"
Encoding="UTF8"><![CDATA[' Microsoft SQL Server Integration Services Script Task
' Write scripts using Microsoft Visual Basic
' The ScriptMain class is the entry point of the Script Task.
Imports System
Imports System.Data
Imports System.Math
Imports Microsoft.SqlServer.Dts.Runtime
<Microsoft.SqlServer.Dts.Tasks.ScriptTask.SSISScriptTaskEntryPointAttribute> _
<System.CLSCompliantAttribute(False)> _
Partial Public Class ScriptMain
Inherits Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
Enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
End Enum
' The execution engine calls this method when the task executes.
' To access the object model, use the Dts object. Connections, variables, events,
' and logging features are available as static members of the Dts class.
' Before returning from this method, set the value of Dts.TaskResult to indicate success or failure.
'
' To open Code and Text Editor Help, press F1.
' To open Object Browser, press Ctrl+Alt+J.
Public Sub Main()
Dim fileExists As Boolean = System.IO.File.Exists(Dts.Connections("OriginalProductList").AcquireConnection(Nothing).ToString())
Dim vars As Variables
Dts.VariableDispenser.LockOneForWrite("fileExists", vars)
vars("fileExists").Value = fileExists
vars.Unlock()
Dts.TaskResult = ScriptResults.Success
End Sub
End Class]]></ProjectItem>
<ProjectItem
Name="ScriptTask_8e2024e76dbd4ed4baea0372bfdcf60c.vbproj"
Encoding="UTF16LE"><![CDATA[<?xml version="1.0" encoding="utf-16"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectTypeGuids>{30D016F9-3734-4E33-A861-5E7D899E18F3};{F184B08F-C81C-45F6-A57F-5ABD9991F28F}</ProjectTypeGuids>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{2d56e236-eb91-40f2-af1f-88d2ff855dd9}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>My Project</AppDesignerFolder>
<RootNamespace>ScriptTask_8e2024e76dbd4ed4baea0372bfdcf60c</RootNamespace>
<AssemblyName>ScriptTask_8e2024e76dbd4ed4baea0372bfdcf60c</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<OptionCompare>Binary</OptionCompare>
<OptionExplicit>On</OptionExplicit>
<OptionStrict>On</OptionStrict>
<TargetFrameworkProfile></TargetFrameworkProfile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>.\bin\Debug\</OutputPath>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<DefineDebug>true</DefineDebug>
<DefineTrace>true</DefineTrace>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<DebugSymbols>false</DebugSymbols>
<Optimize>true</Optimize>
<OutputPath>.\bin\Release\</OutputPath>
<EnableUnmanagedDebugging>false</EnableUnmanagedDebugging>
<DefineDebug>false</DefineDebug>
<DefineTrace>true</DefineTrace>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Windows.Forms" />
<Reference Include="System.Xml" />
<Reference Include="Microsoft.SqlServer.ManagedDTS, Version=12.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91" />
<Reference Include="Microsoft.SqlServer.ScriptTask, Version=12.0.0.0, Culture=Neutral, PublicKeyToken=89845dcd8080cc91" />
<Reference Include="System">
<Private>False</Private>
</Reference>
<Reference Include="System.Data">
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>
<Import Include="Microsoft.VisualBasic" />
<Import Include="System" />
<Import Include="System.Collections" />
<Import Include="System.Data" />
<Import Include="System.Diagnostics" />
<Import Include="System.Windows.Forms" />
</ItemGroup>
<ItemGroup>
<AppDesigner Include="My Project\" />
</ItemGroup>
<!-- Include the build rules for a VB project.-->
<Import Project="$(MSBuildBinPath)\Microsoft.VisualBasic.targets" />
<ProjectExtensions>
<VisualStudio>
<FlavorProperties GUID="{30D016F9-3734-4E33-A861-5E7D899E18F3}">
<ProjectProperties HostName="ScriptTask" HostPackage="{B3A685AA-7EAF-4BC6-9940-57959FA5AC07}" ApplicationType="usd" Language="vb" TemplatesPath="" DebugInfoExeName="" DebugInfoCommandLine="" DebugInfoWorkingDir="" IconImageList="" />
<Host Name="ScriptTask" IconIndex=""></Host>
<ProjectClient>
<HostIdentifier>SSIS_ST120</HostIdentifier>
</ProjectClient>
</FlavorProperties>
</VisualStudio>
</ProjectExtensions>
<ItemGroup>
<Compile Include="ScriptMain.vb" />
</ItemGroup>
</Project>]]></ProjectItem>
<ProjectItem
Name="Project"
Encoding="UTF16LE"><![CDATA[<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<c:Project xmlns:c="http://schemas.microsoft.com/codeprojectml/2010/08/main" xmlns:msb="http://schemas.microsoft.com/developer/msbuild/2003" runtimeVersion="4.0" schemaVersion="1.0">
<msb:PropertyGroup>
<msb:CodeName>ScriptTask_8e2024e76dbd4ed4baea0372bfdcf60c</msb:CodeName>
<msb:Language>msBuild</msb:Language>
<msb:DisplayName>ScriptTask_8e2024e76dbd4ed4baea0372bfdcf60c</msb:DisplayName>
<msb:ProjectId>{6F742A32-5BA3-412B-A70D-48D9FAF8D8F5}</msb:ProjectId>
</msb:PropertyGroup>
<msb:ItemGroup>
<msb:Project Include="ScriptTask_8e2024e76dbd4ed4baea0372bfdcf60c.vbproj"/>
<msb:File Include="ScriptMain.vb"/>
</msb:ItemGroup>
</c:Project>]]></ProjectItem>
<BinaryItem
Name="ScriptTask_8e2024e76dbd4ed4baea0372bfdcf60c.dll">TVqQAAMAAAAEAAAA//8AALgAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAgAAAAA4fug4AtAnNIbgBTM0hVGhpcyBwcm9ncmFtIGNhbm5vdCBiZSBydW4gaW4gRE9TIG1v
ZGUuDQ0KJAAAAAAAAABQRQAATAEDAEc5cl8AAAAAAAAAAOAAIiALAVAAABQAAAAGAAAAAAAA5jIA
AAAgAAAAQAAAAAAAEAAgAAAAAgAABAAAAAAAAAAEAAAAAAAAAACAAAAAAgAAAAAAAAMAQIUAABAA
ABAAAA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AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAADAAAAOgyAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==</BinaryItem>
</ScriptProject>
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\Copy File To Staging Area"
DTS:CreationName="Microsoft.FileSystemTask"
DTS:Description="File System Task"
DTS:DTSID="{C4E7783C-4BAC-4F23-8365-EB5E57B9C314}"
DTS:ExecutableType="Microsoft.FileSystemTask"
DTS:LocaleID="-1"
DTS:ObjectName="Copy File To Staging Area"
DTS:TaskContact="File System Task;Microsoft Corporation; Microsoft SQL Server v9; © 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<FileSystemData
TaskOverwriteDestFile="True"
TaskSourcePath="{B08DD307-7370-47FF-9F80-1E64EDD2E780}"
TaskDestinationPath="{24C010CD-93A0-4C46-82B1-7F407EEA2F04}" />
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\Create Table"
DTS:CreationName="Microsoft.ExecuteSQLTask"
DTS:Description="Execute SQL Task"
DTS:DTSID="{61F96411-F16E-436E-8B43-AA7C0A2EBDC0}"
DTS:ExecutableType="Microsoft.ExecuteSQLTask"
DTS:LocaleID="-1"
DTS:ObjectName="Create Table"
DTS:TaskContact="Execute SQL Task; Microsoft Corporation; Microsoft SQL Server v9; © 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<SQLTask:SqlTaskData
SQLTask:Connection="{87FEE2FF-BC0D-4C86-9A22-7EBA384494D7}"
SQLTask:SqlStatementSource="IF NOT EXISTS(SELECT 1 FROM sys.tables LEFT JOIN sys.schemas ON tables.schema_id = schemas.schema_id WHERE tables.name = 'Product' and schemas.name = 'dbo')

CREATE TABLE dbo.Product (
 [ProductID] INTEGER,
 [ProductName] VARCHAR(50),
 [Description] VARCHAR(250),
 [SKU] VARCHAR(50),
 [ListPrice] DECIMAL,
 [UnitsPerPackage] INTEGER
)" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\Delete File From Staging Area"
DTS:CreationName="Microsoft.FileSystemTask"
DTS:Description="File System Task"
DTS:DTSID="{36AF6816-3E76-4BA1-B5A2-4C482B073C21}"
DTS:ExecutableType="Microsoft.FileSystemTask"
DTS:LocaleID="-1"
DTS:ObjectName="Delete File From Staging Area"
DTS:TaskContact="File System Task;Microsoft Corporation; Microsoft SQL Server v9; © 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<FileSystemData
TaskOperationType="DeleteFile"
TaskSourcePath="{24C010CD-93A0-4C46-82B1-7F407EEA2F04}" />
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\Load Products"
DTS:CreationName="Microsoft.Pipeline"
DTS:Description="Data Flow Task"
DTS:DTSID="{5A13FF66-EE91-4E7F-B338-FE053C64AE22}"
DTS:ExecutableType="Microsoft.Pipeline"
DTS:LocaleID="-1"
DTS:ObjectName="Load Products"
DTS:TaskContact="Performs high-performance data extraction, transformation and loading;Microsoft Corporation; Microsoft SQL Server v9; (C) 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1">
<DTS:Variables />
<DTS:ObjectData>
<pipeline
BLOBTempStoragePath=""
bufferTempStoragePath=""
engineThreads="5"
version="1">
<components>
<component
refId="Package\Load Products\Flat File Source 1"
componentClassID="Microsoft.FlatFileSource"
contactInfo="Flat File Source;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1"
description="Flat File Source"
localeId="1033"
name="Flat File Source 1"
usesDispositions="true"
version="1">
<properties>
<property
dataType="System.Boolean"
description="Specifies whether zero-length columns are treated as null."
name="RetainNulls">false</property>
<property
dataType="System.String"
description="Specifies the name of an output column containing the file name. If no name is specified, no output column containing the file name will be generated."
name="FileNameColumnName"></property>
</properties>
<connections>
<connection
refId="Package\Load Products\Flat File Source 1.Connections[FlatFileConnection]"
connectionManagerID="Package.ConnectionManagers[StagedProductList]"
connectionManagerRefId="Package.ConnectionManagers[StagedProductList]"
name="FlatFileConnection" />
</connections>
<outputs>
<output
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output]"
name="Flat File Source Output">
<outputColumns>
<outputColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 0]"
codePage="1252"
dataType="str"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 0]"
length="50"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 0]"
name="Column 0"
truncationRowDisposition="FailComponent">
<properties>
<property
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines."
name="FastParse">false</property>
<property
dataType="System.Boolean"
description="Indicates whether the data is in binary format."
name="UseBinaryFormat">false</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 1]"
codePage="1252"
dataType="str"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 1]"
length="50"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 1]"
name="Column 1"
truncationRowDisposition="FailComponent">
<properties>
<property
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines."
name="FastParse">false</property>
<property
dataType="System.Boolean"
description="Indicates whether the data is in binary format."
name="UseBinaryFormat">false</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 2]"
codePage="1252"
dataType="str"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 2]"
length="50"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 2]"
name="Column 2"
truncationRowDisposition="FailComponent">
<properties>
<property
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines."
name="FastParse">false</property>
<property
dataType="System.Boolean"
description="Indicates whether the data is in binary format."
name="UseBinaryFormat">false</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 3]"
codePage="1252"
dataType="str"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 3]"
length="50"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 3]"
name="Column 3"
truncationRowDisposition="FailComponent">
<properties>
<property
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines."
name="FastParse">false</property>
<property
dataType="System.Boolean"
description="Indicates whether the data is in binary format."
name="UseBinaryFormat">false</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 4]"
dataType="decimal"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 4]"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 4]"
name="Column 4"
truncationRowDisposition="FailComponent">
<properties>
<property
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines."
name="FastParse">false</property>
<property
dataType="System.Boolean"
description="Indicates whether the data is in binary format."
name="UseBinaryFormat">false</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 5]"
dataType="numeric"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 5]"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 5]"
name="Column 5"
precision="18"
truncationRowDisposition="FailComponent">
<properties>
<property
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines."
name="FastParse">false</property>
<property
dataType="System.Boolean"
description="Indicates whether the data is in binary format."
name="UseBinaryFormat">false</property>
</properties>
</outputColumn>
</outputColumns>
<externalMetadataColumns
isUsed="True">
<externalMetadataColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 0]"
codePage="1252"
dataType="str"
length="50"
name="Column 0" />
<externalMetadataColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 1]"
codePage="1252"
dataType="str"
length="50"
name="Column 1" />
<externalMetadataColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 2]"
codePage="1252"
dataType="str"
length="50"
name="Column 2" />
<externalMetadataColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 3]"
codePage="1252"
dataType="str"
length="50"
name="Column 3" />
<externalMetadataColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 4]"
dataType="decimal"
name="Column 4" />
<externalMetadataColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[Column 5]"
dataType="numeric"
name="Column 5"
precision="18" />
</externalMetadataColumns>
</output>
<output
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Error Output]"
isErrorOut="true"
name="Flat File Source Error Output">
<outputColumns>
<outputColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Error Output].Columns[Flat File Source Error Output Column]"
codePage="1252"
dataType="text"
description="Flat File Source Error Output Column"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Error Output].Columns[Flat File Source Error Output Column]"
name="Flat File Source Error Output Column" />
<outputColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Error Output].Columns[ErrorCode]"
dataType="i4"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Error Output].Columns[ErrorCode]"
name="ErrorCode"
specialFlags="1" />
<outputColumn
refId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Error Output].Columns[ErrorColumn]"
dataType="i4"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Error Output].Columns[ErrorColumn]"
name="ErrorColumn"
specialFlags="2" />
</outputColumns>
<externalMetadataColumns />
</output>
</outputs>
</component>
<component
refId="Package\Load Products\OLE DB Destination 1"
componentClassID="Microsoft.OLEDBDestination"
contactInfo="OLE DB Destination;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;4"
description="OLE DB Destination"
name="OLE DB Destination 1"
usesDispositions="true"
version="4">
<properties>
<property
dataType="System.Int32"
description="The number of seconds before a command times out. A value of 0 indicates an infinite time-out."
name="CommandTimeout">0</property>
<property
dataType="System.String"
description="Specifies the name of the database object used to open a rowset."
name="OpenRowset">[dbo].[Product]</property>
<property
dataType="System.String"
description="Specifies the variable that contains the name of the database object used to open a rowset."
name="OpenRowsetVariable"></property>
<property
dataType="System.String"
description="The SQL command to be executed."
name="SqlCommand"
UITypeEditor="Microsoft.DataTransformationServices.Controls.ModalMultilineStringEditor, Microsoft.DataTransformationServices.Controls, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91"></property>
<property
dataType="System.Int32"
description="Specifies the column code page to use when code page information is unavailable from the data source."
name="DefaultCodePage">1252</property>
<property
dataType="System.Boolean"
description="Forces the use of the DefaultCodePage property value when describing character data."
name="AlwaysUseDefaultCodePage">false</property>
<property
dataType="System.Int32"
description="Specifies the mode used to access the database."
name="AccessMode"
typeConverter="AccessMode">3</property>
<property
dataType="System.Boolean"
description="Indicates whether the values supplied for identity columns will be copied to the destination. If false, values for identity columns will be auto-generated at the destination. Applies only if fast load is turned on."
name="FastLoadKeepIdentity">true</property>
<property
dataType="System.Boolean"
description="Indicates whether the columns containing null will have null inserted in the destination. If false, columns containing null will have their default values inserted at the destination. Applies only if fast load is turned on."
name="FastLoadKeepNulls">false</property>
<property
dataType="System.String"
description="Specifies options to be used with fast load. Applies only if fast load is turned on."
name="FastLoadOptions">TABLOCK</property>
<property
dataType="System.Int32"
description="Specifies when commits are issued during data insertion. A value of 0 specifies that one commit will be issued at the end of data insertion. Applies only if fast load is turned on."
name="FastLoadMaxInsertCommitSize">2147483647</property>
</properties>
<connections>
<connection
refId="Package\Load Products\OLE DB Destination 1.Connections[OleDbConnection]"
connectionManagerID="Package.ConnectionManagers[Destination]"
connectionManagerRefId="Package.ConnectionManagers[Destination]"
description="The OLE DB runtime connection used to access the database."
name="OleDbConnection" />
</connections>
<inputs>
<input
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input]"
errorOrTruncationOperation="Insert"
errorRowDisposition="FailComponent"
hasSideEffects="true"
name="OLE DB Destination Input">
<inputColumns>
<inputColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].Columns[Column 0]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="Column 0"
externalMetadataColumnId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[ProductID]"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 0]" />
<inputColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].Columns[Column 1]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="Column 1"
externalMetadataColumnId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[ProductName]"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 1]" />
<inputColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].Columns[Column 2]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="Column 2"
externalMetadataColumnId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[Description]"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 2]" />
<inputColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].Columns[Column 3]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="Column 3"
externalMetadataColumnId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[SKU]"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 3]" />
<inputColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].Columns[Column 4]"
cachedDataType="decimal"
cachedName="Column 4"
externalMetadataColumnId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[UnitsPerPackage]"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 4]" />
<inputColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].Columns[Column 5]"
cachedDataType="numeric"
cachedName="Column 5"
cachedPrecision="18"
externalMetadataColumnId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[ListPrice]"
lineageId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output].Columns[Column 5]" />
</inputColumns>
<externalMetadataColumns
isUsed="True">
<externalMetadataColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[ProductID]"
dataType="i4"
name="ProductID" />
<externalMetadataColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[ProductName]"
codePage="1252"
dataType="str"
length="50"
name="ProductName" />
<externalMetadataColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[Description]"
codePage="1252"
dataType="str"
length="250"
name="Description" />
<externalMetadataColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[SKU]"
codePage="1252"
dataType="str"
length="50"
name="SKU" />
<externalMetadataColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[UnitsPerPackage]"
dataType="i4"
name="UnitsPerPackage" />
<externalMetadataColumn
refId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input].ExternalColumns[ListPrice]"
dataType="numeric"
name="ListPrice"
precision="18" />
</externalMetadataColumns>
</input>
</inputs>
<outputs>
<output
refId="Package\Load Products\OLE DB Destination 1.Outputs[OLE DB Destination Error Output]"
exclusionGroup="1"
isErrorOut="true"
name="OLE DB Destination Error Output"
synchronousInputId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input]">
<outputColumns>
<outputColumn
refId="Package\Load Products\OLE DB Destination 1.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]"
dataType="i4"
lineageId="Package\Load Products\OLE DB Destination 1.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]"
name="ErrorCode"
specialFlags="1" />
<outputColumn
refId="Package\Load Products\OLE DB Destination 1.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]"
dataType="i4"
lineageId="Package\Load Products\OLE DB Destination 1.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]"
name="ErrorColumn"
specialFlags="2" />
</outputColumns>
<externalMetadataColumns />
</output>
</outputs>
</component>
<component
refId="Package\Load Products\Row Count"
componentClassID="Microsoft.RowCount"
contactInfo="Row Count;Microsoft Corporation;Microsoft SqlServer v9; (C) 2005 Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0"
description="Counts the rows in a dataset."
name="Row Count">
<properties>
<property
dataType="System.String"
description="Specifies the variable to hold the row count."
name="VariableName">User::sourceRows</property>
</properties>
<inputs>
<input
refId="Package\Load Products\Row Count.Inputs[Row Count Input 1]"
hasSideEffects="true"
name="Row Count Input 1">
<externalMetadataColumns />
</input>
</inputs>
<outputs>
<output
refId="Package\Load Products\Row Count.Outputs[Row Count Output 1]"
name="Row Count Output 1"
synchronousInputId="Package\Load Products\Row Count.Inputs[Row Count Input 1]">
<externalMetadataColumns />
</output>
</outputs>
</component>
</components>
<paths>
<path
refId="Package\Load Products.Paths[Flat File Source Output]"
endId="Package\Load Products\Row Count.Inputs[Row Count Input 1]"
name="Flat File Source Output"
startId="Package\Load Products\Flat File Source 1.Outputs[Flat File Source Output]" />
<path
refId="Package\Load Products.Paths[Row Count Output 1]"
endId="Package\Load Products\OLE DB Destination 1.Inputs[OLE DB Destination Input]"
name="Row Count Output 1"
startId="Package\Load Products\Row Count.Outputs[Row Count Output 1]" />
</paths>
</pipeline>
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\Truncate Destination"
DTS:CreationName="Microsoft.ExecuteSQLTask"
DTS:Description="Execute SQL Task"
DTS:DTSID="{55A6AFC9-B556-45FE-89C3-6EF62F3C7A33}"
DTS:ExecutableType="Microsoft.ExecuteSQLTask"
DTS:LocaleID="-1"
DTS:ObjectName="Truncate Destination"
DTS:TaskContact="Execute SQL Task; Microsoft Corporation; Microsoft SQL Server v9; © 2004 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<SQLTask:SqlTaskData
SQLTask:Connection="{87FEE2FF-BC0D-4C86-9A22-7EBA384494D7}"
SQLTask:SqlStatementSource="TRUNCATE TABLE dbo.Product" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
</DTS:ObjectData>
</DTS:Executable>
</DTS:Executables>
<DTS:PrecedenceConstraints>
<DTS:PrecedenceConstraint
DTS:refId="Package.PrecedenceConstraints[Constraint]"
DTS:CreationName=""
DTS:DTSID="{E2861FDE-E354-40B4-8144-29FE805E51C9}"
DTS:From="Package\Copy File To Staging Area"
DTS:LogicalAnd="True"
DTS:ObjectName="Constraint"
DTS:To="Package\Create Table" />
<DTS:PrecedenceConstraint
DTS:refId="Package.PrecedenceConstraints[Constraint 1]"
DTS:CreationName=""
DTS:DTSID="{0059F2AA-2776-4A61-81E5-4F49297F8EF1}"
DTS:From="Package\Truncate Destination"
DTS:LogicalAnd="True"
DTS:ObjectName="Constraint 1"
DTS:To="Package\Load Products" />
<DTS:PrecedenceConstraint
DTS:refId="Package.PrecedenceConstraints[Constraint 2]"
DTS:CreationName=""
DTS:DTSID="{AD924F4A-520D-41B0-BDE4-8CA959AF44E4}"
DTS:From="Package\Load Products"
DTS:LogicalAnd="True"
DTS:ObjectName="Constraint 2"
DTS:To="Package\Delete File From Staging Area" />
<DTS:PrecedenceConstraint
DTS:refId="Package.PrecedenceConstraints[Constraint 3]"
DTS:CreationName=""
DTS:DTSID="{8AAE117D-8149-4114-8DDE-AD5867BB523B}"
DTS:From="Package\Create Table"
DTS:LogicalAnd="True"
DTS:ObjectName="Constraint 3"
DTS:To="Package\Truncate Destination" />
<DTS:PrecedenceConstraint
DTS:refId="Package.PrecedenceConstraints[Constraint 4]"
DTS:CreationName=""
DTS:DTSID="{A5521826-6370-40C3-8902-9BC26D2BFF00}"
DTS:EvalOp="3"
DTS:Expression="@fileExists"
DTS:From="Package\Check for File"
DTS:LogicalAnd="True"
DTS:ObjectName="Constraint 4"
DTS:To="Package\Copy File To Staging Area" />
</DTS:PrecedenceConstraints>
<DTS:DesignTimeProperties><![CDATA[<?xml version="1.0"?>