-
Notifications
You must be signed in to change notification settings - Fork 0
/
Question 6.dtsx
1311 lines (1311 loc) · 68.3 KB
/
Question 6.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="7/11/2019 1:46:19 AM"
DTS:CreationName="Microsoft.Package"
DTS:CreatorComputerName="LAPTOP-OEAIEUG0"
DTS:CreatorName="LAPTOP-OEAIEUG0\karan"
DTS:DTSID="{2917E531-65B9-4497-A4CA-3746B88DBE02}"
DTS:ExecutableType="Microsoft.Package"
DTS:LastModifiedProductVersion="15.0.1300.375"
DTS:LocaleID="4105"
DTS:ObjectName="Package1"
DTS:PackageType="5"
DTS:VersionBuild="30"
DTS:VersionGUID="{C39370E8-BF0C-49AD-B10C-4C0F946A0908}">
<DTS:Property
DTS:Name="PackageFormatVersion">8</DTS:Property>
<DTS:ConnectionManagers>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[Flat File Connection Manager]"
DTS:CreationName="FLATFILE"
DTS:DTSID="{507F7260-1EDC-4996-B587-5CBD861E8498}"
DTS:ObjectName="Flat File Connection Manager">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:Format="Delimited"
DTS:LocaleID="4105"
DTS:HeaderRowDelimiter="_x000D__x000A_"
DTS:ColumnNamesInFirstDataRow="True"
DTS:RowDelimiter=""
DTS:TextQualifier="_x003C_none_x003E_"
DTS:CodePage="1252"
DTS:ConnectionString="D:\Files\Assignment 3\motor-vehicle-fatalities-by-month.csv">
<DTS:FlatFileColumns>
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x002C_"
DTS:MaximumWidth="50"
DTS:DataType="129"
DTS:TextQualified="True"
DTS:ObjectName="YEAR_AND_MONTH"
DTS:DTSID="{6B79F875-338A-4DBD-BE59-7224CDEEA0DB}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x000D__x000A_"
DTS:MaximumWidth="50"
DTS:DataType="129"
DTS:TextQualified="True"
DTS:ObjectName="FATAL VICTIMS"
DTS:DTSID="{7C0223DA-72BE-4CFF-89E2-90C20CEC9A59}"
DTS:CreationName="" />
</DTS:FlatFileColumns>
</DTS:ConnectionManager>
</DTS:ObjectData>
</DTS:ConnectionManager>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[Flat File Connection Manager 1]"
DTS:CreationName="FLATFILE"
DTS:DTSID="{02E159FA-1169-4E27-877B-F6CE63807FB2}"
DTS:ObjectName="Flat File Connection Manager 1">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:Format="Delimited"
DTS:LocaleID="4105"
DTS:HeaderRowDelimiter="_x000D__x000A_"
DTS:ColumnNamesInFirstDataRow="True"
DTS:RowDelimiter=""
DTS:TextQualifier="_x003C_none_x003E_"
DTS:CodePage="1252"
DTS:ConnectionString="D:\Files\Assignment 3\motor-vehicle-serious-injuries-by-month.csv">
<DTS:FlatFileColumns>
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x002C_"
DTS:MaximumWidth="50"
DTS:DataType="129"
DTS:TextQualified="True"
DTS:ObjectName="YEAR_AND_MONTH"
DTS:DTSID="{12D6157A-079A-406B-9EE5-BD9E981C3EE7}"
DTS:CreationName="" />
<DTS:FlatFileColumn
DTS:ColumnType="Delimited"
DTS:ColumnDelimiter="_x000D__x000A_"
DTS:MaximumWidth="50"
DTS:DataType="129"
DTS:TextQualified="True"
DTS:ObjectName="SERIOUS INJURIES"
DTS:DTSID="{B8E1C7F8-0DB3-48CA-AA3F-B89ACB8A3469}"
DTS:CreationName="" />
</DTS:FlatFileColumns>
</DTS:ConnectionManager>
</DTS:ObjectData>
</DTS:ConnectionManager>
<DTS:ConnectionManager
DTS:refId="Package.ConnectionManagers[LAPTOP-OEAIEUG0\MSSQLSERVER2017]"
DTS:CreationName="OLEDB"
DTS:DTSID="{01A41A5B-D34E-4D56-A364-FC01088EBD63}"
DTS:ObjectName="LAPTOP-OEAIEUG0\MSSQLSERVER2017">
<DTS:ObjectData>
<DTS:ConnectionManager
DTS:ConnectionString="Data Source=LAPTOP-OEAIEUG0\MSSQLSERVER2017;Initial Catalog=ICBC;Provider=SQLNCLI11.1;Integrated Security=SSPI;Auto Translate=False;" />
</DTS:ObjectData>
</DTS:ConnectionManager>
</DTS:ConnectionManagers>
<DTS:Variables />
<DTS:Executables>
<DTS:Executable
DTS:refId="Package\Data Flow Task"
DTS:CreationName="Microsoft.Pipeline"
DTS:Description="Data Flow Task"
DTS:DTSID="{43B5409F-9226-45CA-A7AE-FDF8D16A5115}"
DTS:ExecutableType="Microsoft.Pipeline"
DTS:LocaleID="-1"
DTS:ObjectName="Data Flow Task"
DTS:TaskContact="Performs high-performance data extraction, transformation and loading;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1">
<DTS:Variables />
<DTS:ObjectData>
<pipeline
version="1">
<components>
<component
refId="Package\Data Flow Task\Data Conversion"
componentClassID="Microsoft.DataConvert"
contactInfo="Data Conversion;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;0"
description="Data Conversion"
name="Data Conversion"
usesDispositions="true">
<inputs>
<input
refId="Package\Data Flow Task\Data Conversion.Inputs[Data Conversion Input]"
name="Data Conversion Input">
<inputColumns>
<inputColumn
refId="Package\Data Flow Task\Data Conversion.Inputs[Data Conversion Input].Columns[FATAL VICTIMS]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="FATAL VICTIMS"
lineageId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[FATAL VICTIMS]" />
<inputColumn
refId="Package\Data Flow Task\Data Conversion.Inputs[Data Conversion Input].Columns[SERIOUS INJURIES]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="SERIOUS INJURIES"
lineageId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[SERIOUS INJURIES]" />
</inputColumns>
<externalMetadataColumns />
</input>
</inputs>
<outputs>
<output
refId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Output]"
exclusionGroup="1"
name="Data Conversion Output"
synchronousInputId="Package\Data Flow Task\Data Conversion.Inputs[Data Conversion Input]">
<outputColumns>
<outputColumn
refId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of FATAL VICTIMS]"
dataType="ui4"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
lineageId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of FATAL VICTIMS]"
name="Copy of FATAL VICTIMS"
truncationRowDisposition="FailComponent">
<properties>
<property
containsID="true"
dataType="System.Int32"
description="Specifies the input column used as the source of data for the conversion."
name="SourceInputColumnLineageID">#{Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[FATAL VICTIMS]}</property>
<property
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines."
name="FastParse">false</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of SERIOUS INJURIES]"
dataType="ui4"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
lineageId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of SERIOUS INJURIES]"
name="Copy of SERIOUS INJURIES"
truncationRowDisposition="FailComponent">
<properties>
<property
containsID="true"
dataType="System.Int32"
description="Specifies the input column used as the source of data for the conversion."
name="SourceInputColumnLineageID">#{Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[SERIOUS INJURIES]}</property>
<property
dataType="System.Boolean"
description="Indicates whether the column uses the faster, locale-neutral parsing routines."
name="FastParse">false</property>
</properties>
</outputColumn>
</outputColumns>
<externalMetadataColumns />
</output>
<output
refId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Error Output]"
exclusionGroup="1"
isErrorOut="true"
name="Data Conversion Error Output"
synchronousInputId="Package\Data Flow Task\Data Conversion.Inputs[Data Conversion Input]">
<outputColumns>
<outputColumn
refId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Error Output].Columns[ErrorCode]"
dataType="i4"
lineageId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Error Output].Columns[ErrorCode]"
name="ErrorCode"
specialFlags="1" />
<outputColumn
refId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Error Output].Columns[ErrorColumn]"
dataType="i4"
lineageId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Error Output].Columns[ErrorColumn]"
name="ErrorColumn"
specialFlags="2" />
</outputColumns>
<externalMetadataColumns />
</output>
</outputs>
</component>
<component
refId="Package\Data Flow Task\Flat File Source"
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="4105"
name="Flat File Source"
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\Data Flow Task\Flat File Source.Connections[FlatFileConnection]"
connectionManagerID="Package.ConnectionManagers[Flat File Connection Manager]"
connectionManagerRefId="Package.ConnectionManagers[Flat File Connection Manager]"
name="FlatFileConnection" />
</connections>
<outputs>
<output
refId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output]"
name="Flat File Source Output">
<outputColumns>
<outputColumn
refId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].Columns[YEAR_AND_MONTH]"
codePage="1252"
dataType="str"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].ExternalColumns[YEAR_AND_MONTH]"
length="50"
lineageId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].Columns[YEAR_AND_MONTH]"
name="YEAR_AND_MONTH"
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\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].Columns[FATAL VICTIMS]"
codePage="1252"
dataType="str"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].ExternalColumns[FATAL VICTIMS]"
length="50"
lineageId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].Columns[FATAL VICTIMS]"
name="FATAL VICTIMS"
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\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].ExternalColumns[FATAL VICTIMS]"
codePage="1252"
dataType="str"
length="50"
name="FATAL VICTIMS" />
<externalMetadataColumn
refId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].ExternalColumns[YEAR_AND_MONTH]"
codePage="1252"
dataType="str"
length="50"
name="YEAR_AND_MONTH" />
</externalMetadataColumns>
</output>
<output
refId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Error Output]"
isErrorOut="true"
name="Flat File Source Error Output">
<outputColumns>
<outputColumn
refId="Package\Data Flow Task\Flat File Source.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\Data Flow Task\Flat File Source.Outputs[Flat File Source Error Output].Columns[Flat File Source Error Output Column]"
name="Flat File Source Error Output Column" />
<outputColumn
refId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Error Output].Columns[ErrorCode]"
dataType="i4"
lineageId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Error Output].Columns[ErrorCode]"
name="ErrorCode"
specialFlags="1" />
<outputColumn
refId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Error Output].Columns[ErrorColumn]"
dataType="i4"
lineageId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Error Output].Columns[ErrorColumn]"
name="ErrorColumn"
specialFlags="2" />
</outputColumns>
<externalMetadataColumns />
</output>
</outputs>
</component>
<component
refId="Package\Data Flow Task\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="4105"
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\Data Flow Task\Flat File Source 1.Connections[FlatFileConnection]"
connectionManagerID="Package.ConnectionManagers[Flat File Connection Manager 1]"
connectionManagerRefId="Package.ConnectionManagers[Flat File Connection Manager 1]"
name="FlatFileConnection" />
</connections>
<outputs>
<output
refId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output]"
name="Flat File Source Output">
<outputColumns>
<outputColumn
refId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].Columns[YEAR_AND_MONTH]"
codePage="1252"
dataType="str"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[YEAR_AND_MONTH]"
length="50"
lineageId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].Columns[YEAR_AND_MONTH]"
name="YEAR_AND_MONTH"
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\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].Columns[SERIOUS INJURIES]"
codePage="1252"
dataType="str"
errorOrTruncationOperation="Conversion"
errorRowDisposition="FailComponent"
externalMetadataColumnId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[SERIOUS INJURIES]"
length="50"
lineageId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].Columns[SERIOUS INJURIES]"
name="SERIOUS INJURIES"
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\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[YEAR_AND_MONTH]"
codePage="1252"
dataType="str"
length="50"
name="YEAR_AND_MONTH" />
<externalMetadataColumn
refId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].ExternalColumns[SERIOUS INJURIES]"
codePage="1252"
dataType="str"
length="50"
name="SERIOUS INJURIES" />
</externalMetadataColumns>
</output>
<output
refId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Error Output]"
isErrorOut="true"
name="Flat File Source Error Output">
<outputColumns>
<outputColumn
refId="Package\Data Flow Task\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\Data Flow Task\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\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Error Output].Columns[ErrorCode]"
dataType="i4"
lineageId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Error Output].Columns[ErrorCode]"
name="ErrorCode"
specialFlags="1" />
<outputColumn
refId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Error Output].Columns[ErrorColumn]"
dataType="i4"
lineageId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Error Output].Columns[ErrorColumn]"
name="ErrorColumn"
specialFlags="2" />
</outputColumns>
<externalMetadataColumns />
</output>
</outputs>
</component>
<component
refId="Package\Data Flow Task\Merge Join"
componentClassID="Microsoft.MergeJoin"
contactInfo="Merge Join;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1"
description="Combine two sorted data flows into one using the FULL, LEFT, or INNER join. We recommend this transformation when data flows can be sorted at their sources."
name="Merge Join"
version="1">
<properties>
<property
dataType="System.Int32"
description="Specifies the type of join to perform."
name="JoinType"
typeConverter="JoinType">0</property>
<property
dataType="System.Int32"
description="Specifies the number of columns in the ordering key."
name="NumKeyColumns">1</property>
<property
dataType="System.Boolean"
description="Indicates whether the null values are treated as equal values."
name="TreatNullsAsEqual">true</property>
<property
dataType="System.Int32"
description="Indicates the requested maximum buffers per input before blocking."
name="MaxBuffersPerInput">5</property>
</properties>
<inputs>
<input
refId="Package\Data Flow Task\Merge Join.Inputs[Merge Join Left Input]"
hasSideEffects="true"
name="Merge Join Left Input">
<inputColumns>
<inputColumn
refId="Package\Data Flow Task\Merge Join.Inputs[Merge Join Left Input].Columns[YEAR_AND_MONTH]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="YEAR_AND_MONTH"
cachedSortKeyPosition="1"
lineageId="Package\Data Flow Task\Sort.Outputs[Sort Output].Columns[YEAR_AND_MONTH]" />
<inputColumn
refId="Package\Data Flow Task\Merge Join.Inputs[Merge Join Left Input].Columns[FATAL VICTIMS]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="FATAL VICTIMS"
lineageId="Package\Data Flow Task\Sort.Outputs[Sort Output].Columns[FATAL VICTIMS]" />
</inputColumns>
<externalMetadataColumns />
</input>
<input
refId="Package\Data Flow Task\Merge Join.Inputs[Merge Join Right Input]"
hasSideEffects="true"
name="Merge Join Right Input">
<inputColumns>
<inputColumn
refId="Package\Data Flow Task\Merge Join.Inputs[Merge Join Right Input].Columns[YEAR_AND_MONTH]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="YEAR_AND_MONTH"
cachedSortKeyPosition="1"
lineageId="Package\Data Flow Task\Sort 1.Outputs[Sort Output].Columns[YEAR_AND_MONTH]" />
<inputColumn
refId="Package\Data Flow Task\Merge Join.Inputs[Merge Join Right Input].Columns[SERIOUS INJURIES]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="SERIOUS INJURIES"
lineageId="Package\Data Flow Task\Sort 1.Outputs[Sort Output].Columns[SERIOUS INJURIES]" />
</inputColumns>
<externalMetadataColumns />
</input>
</inputs>
<outputs>
<output
refId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output]"
isSorted="true"
name="Merge Join Output">
<outputColumns>
<outputColumn
refId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[YEAR_AND_MONTH]"
codePage="1252"
dataType="str"
length="50"
lineageId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[YEAR_AND_MONTH]"
name="YEAR_AND_MONTH"
sortKeyPosition="1">
<properties>
<property
containsID="true"
dataType="System.Int32"
description="The input column associated with this output column"
name="InputColumnID">#{Package\Data Flow Task\Merge Join.Inputs[Merge Join Left Input].Columns[YEAR_AND_MONTH]}</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[FATAL VICTIMS]"
codePage="1252"
dataType="str"
length="50"
lineageId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[FATAL VICTIMS]"
name="FATAL VICTIMS">
<properties>
<property
containsID="true"
dataType="System.Int32"
description="The input column associated with this output column"
name="InputColumnID">#{Package\Data Flow Task\Merge Join.Inputs[Merge Join Left Input].Columns[FATAL VICTIMS]}</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[SERIOUS INJURIES]"
codePage="1252"
dataType="str"
length="50"
lineageId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[SERIOUS INJURIES]"
name="SERIOUS INJURIES">
<properties>
<property
containsID="true"
dataType="System.Int32"
description="The input column associated with this output column"
name="InputColumnID">#{Package\Data Flow Task\Merge Join.Inputs[Merge Join Right Input].Columns[SERIOUS INJURIES]}</property>
</properties>
</outputColumn>
</outputColumns>
<externalMetadataColumns />
</output>
</outputs>
</component>
<component
refId="Package\Data Flow Task\OLE DB Destination"
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"
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">[mvfsiMonth]</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">false</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,CHECK_CONSTRAINTS</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\Data Flow Task\OLE DB Destination.Connections[OleDbConnection]"
connectionManagerID="Package.ConnectionManagers[LAPTOP-OEAIEUG0\MSSQLSERVER2017]"
connectionManagerRefId="Package.ConnectionManagers[LAPTOP-OEAIEUG0\MSSQLSERVER2017]"
description="The OLE DB runtime connection used to access the database."
name="OleDbConnection" />
</connections>
<inputs>
<input
refId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input]"
errorOrTruncationOperation="Insert"
errorRowDisposition="FailComponent"
hasSideEffects="true"
name="OLE DB Destination Input">
<inputColumns>
<inputColumn
refId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input].Columns[YEAR_AND_MONTH]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="YEAR_AND_MONTH"
cachedSortKeyPosition="1"
externalMetadataColumnId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input].ExternalColumns[YEAR_AND_MONTH]"
lineageId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output].Columns[YEAR_AND_MONTH]" />
<inputColumn
refId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input].Columns[Copy of FATAL VICTIMS]"
cachedDataType="ui4"
cachedName="Copy of FATAL VICTIMS"
externalMetadataColumnId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input].ExternalColumns[FATAL VICTIMS]"
lineageId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of FATAL VICTIMS]" />
<inputColumn
refId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input].Columns[Copy of SERIOUS INJURIES]"
cachedDataType="ui4"
cachedName="Copy of SERIOUS INJURIES"
externalMetadataColumnId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input].ExternalColumns[SERIOUS INJURIES]"
lineageId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Output].Columns[Copy of SERIOUS INJURIES]" />
</inputColumns>
<externalMetadataColumns
isUsed="True">
<externalMetadataColumn
refId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input].ExternalColumns[YEAR_AND_MONTH]"
codePage="1252"
dataType="str"
length="50"
name="YEAR_AND_MONTH" />
<externalMetadataColumn
refId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input].ExternalColumns[FATAL VICTIMS]"
dataType="i8"
name="FATAL VICTIMS" />
<externalMetadataColumn
refId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input].ExternalColumns[SERIOUS INJURIES]"
dataType="i8"
name="SERIOUS INJURIES" />
</externalMetadataColumns>
</input>
</inputs>
<outputs>
<output
refId="Package\Data Flow Task\OLE DB Destination.Outputs[OLE DB Destination Error Output]"
exclusionGroup="1"
isErrorOut="true"
name="OLE DB Destination Error Output"
synchronousInputId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input]">
<outputColumns>
<outputColumn
refId="Package\Data Flow Task\OLE DB Destination.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]"
dataType="i4"
lineageId="Package\Data Flow Task\OLE DB Destination.Outputs[OLE DB Destination Error Output].Columns[ErrorCode]"
name="ErrorCode"
specialFlags="1" />
<outputColumn
refId="Package\Data Flow Task\OLE DB Destination.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]"
dataType="i4"
lineageId="Package\Data Flow Task\OLE DB Destination.Outputs[OLE DB Destination Error Output].Columns[ErrorColumn]"
name="ErrorColumn"
specialFlags="2" />
</outputColumns>
<externalMetadataColumns />
</output>
</outputs>
</component>
<component
refId="Package\Data Flow Task\Sort"
componentClassID="Microsoft.Sort"
contactInfo="Sort;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1"
description="Sorts input data in ascending or descending order when it cannot be sorted at its source. For example, sort sales data by 'customer id' before it is written to a flat file and delivered to another department. Note: We do not recommend this transformation for large data flows."
name="Sort"
version="1">
<properties>
<property
dataType="System.Boolean"
description="Indicates whether the Sort transformation removes rows with duplicate sort values."
name="EliminateDuplicates">false</property>
<property
dataType="System.Int32"
description="Specifies the maximum number of threads to use for sorting."
expressionType="Notify"
name="MaximumThreads">-1</property>
</properties>
<inputs>
<input
refId="Package\Data Flow Task\Sort.Inputs[Sort Input]"
name="Sort Input">
<inputColumns>
<inputColumn
refId="Package\Data Flow Task\Sort.Inputs[Sort Input].Columns[FATAL VICTIMS]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="FATAL VICTIMS"
lineageId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].Columns[FATAL VICTIMS]">
<properties>
<property
dataType="System.Int32"
description="Specifies the comparison options for character data."
name="NewComparisonFlags">0</property>
<property
dataType="System.Int32"
description="Specifies the sort order of the column."
name="NewSortKeyPosition">0</property>
</properties>
</inputColumn>
<inputColumn
refId="Package\Data Flow Task\Sort.Inputs[Sort Input].Columns[YEAR_AND_MONTH]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="YEAR_AND_MONTH"
lineageId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].Columns[YEAR_AND_MONTH]">
<properties>
<property
dataType="System.Int32"
description="Specifies the comparison options for character data."
name="NewComparisonFlags">0</property>
<property
dataType="System.Int32"
description="Specifies the sort order of the column."
name="NewSortKeyPosition">1</property>
</properties>
</inputColumn>
</inputColumns>
<externalMetadataColumns />
</input>
</inputs>
<outputs>
<output
refId="Package\Data Flow Task\Sort.Outputs[Sort Output]"
isSorted="true"
name="Sort Output">
<outputColumns>
<outputColumn
refId="Package\Data Flow Task\Sort.Outputs[Sort Output].Columns[FATAL VICTIMS]"
codePage="1252"
dataType="str"
length="50"
lineageId="Package\Data Flow Task\Sort.Outputs[Sort Output].Columns[FATAL VICTIMS]"
name="FATAL VICTIMS">
<properties>
<property
containsID="true"
dataType="System.Int32"
description="Specifies the lineage identifier of the input column that is associated with this output column."
name="SortColumnId">#{Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].Columns[FATAL VICTIMS]}</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Data Flow Task\Sort.Outputs[Sort Output].Columns[YEAR_AND_MONTH]"
codePage="1252"
dataType="str"
length="50"
lineageId="Package\Data Flow Task\Sort.Outputs[Sort Output].Columns[YEAR_AND_MONTH]"
name="YEAR_AND_MONTH"
sortKeyPosition="1">
<properties>
<property
containsID="true"
dataType="System.Int32"
description="Specifies the lineage identifier of the input column that is associated with this output column."
name="SortColumnId">#{Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output].Columns[YEAR_AND_MONTH]}</property>
</properties>
</outputColumn>
</outputColumns>
<externalMetadataColumns />
</output>
</outputs>
</component>
<component
refId="Package\Data Flow Task\Sort 1"
componentClassID="Microsoft.Sort"
contactInfo="Sort;Microsoft Corporation; Microsoft SQL Server; (C) Microsoft Corporation; All Rights Reserved; http://www.microsoft.com/sql/support;1"
description="Sorts input data in ascending or descending order when it cannot be sorted at its source. For example, sort sales data by 'customer id' before it is written to a flat file and delivered to another department. Note: We do not recommend this transformation for large data flows."
name="Sort 1"
version="1">
<properties>
<property
dataType="System.Boolean"
description="Indicates whether the Sort transformation removes rows with duplicate sort values."
name="EliminateDuplicates">false</property>
<property
dataType="System.Int32"
description="Specifies the maximum number of threads to use for sorting."
expressionType="Notify"
name="MaximumThreads">-1</property>
</properties>
<inputs>
<input
refId="Package\Data Flow Task\Sort 1.Inputs[Sort Input]"
name="Sort Input">
<inputColumns>
<inputColumn
refId="Package\Data Flow Task\Sort 1.Inputs[Sort Input].Columns[YEAR_AND_MONTH]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="YEAR_AND_MONTH"
lineageId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].Columns[YEAR_AND_MONTH]">
<properties>
<property
dataType="System.Int32"
description="Specifies the comparison options for character data."
name="NewComparisonFlags">0</property>
<property
dataType="System.Int32"
description="Specifies the sort order of the column."
name="NewSortKeyPosition">1</property>
</properties>
</inputColumn>
<inputColumn
refId="Package\Data Flow Task\Sort 1.Inputs[Sort Input].Columns[SERIOUS INJURIES]"
cachedCodepage="1252"
cachedDataType="str"
cachedLength="50"
cachedName="SERIOUS INJURIES"
lineageId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].Columns[SERIOUS INJURIES]">
<properties>
<property
dataType="System.Int32"
description="Specifies the comparison options for character data."
name="NewComparisonFlags">0</property>
<property
dataType="System.Int32"
description="Specifies the sort order of the column."
name="NewSortKeyPosition">0</property>
</properties>
</inputColumn>
</inputColumns>
<externalMetadataColumns />
</input>
</inputs>
<outputs>
<output
refId="Package\Data Flow Task\Sort 1.Outputs[Sort Output]"
isSorted="true"
name="Sort Output">
<outputColumns>
<outputColumn
refId="Package\Data Flow Task\Sort 1.Outputs[Sort Output].Columns[YEAR_AND_MONTH]"
codePage="1252"
dataType="str"
length="50"
lineageId="Package\Data Flow Task\Sort 1.Outputs[Sort Output].Columns[YEAR_AND_MONTH]"
name="YEAR_AND_MONTH"
sortKeyPosition="1">
<properties>
<property
containsID="true"
dataType="System.Int32"
description="Specifies the lineage identifier of the input column that is associated with this output column."
name="SortColumnId">#{Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].Columns[YEAR_AND_MONTH]}</property>
</properties>
</outputColumn>
<outputColumn
refId="Package\Data Flow Task\Sort 1.Outputs[Sort Output].Columns[SERIOUS INJURIES]"
codePage="1252"
dataType="str"
length="50"
lineageId="Package\Data Flow Task\Sort 1.Outputs[Sort Output].Columns[SERIOUS INJURIES]"
name="SERIOUS INJURIES">
<properties>
<property
containsID="true"
dataType="System.Int32"
description="Specifies the lineage identifier of the input column that is associated with this output column."
name="SortColumnId">#{Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output].Columns[SERIOUS INJURIES]}</property>
</properties>
</outputColumn>
</outputColumns>
<externalMetadataColumns />
</output>
</outputs>
</component>
</components>
<paths>
<path
refId="Package\Data Flow Task.Paths[Data Conversion Output]"
endId="Package\Data Flow Task\OLE DB Destination.Inputs[OLE DB Destination Input]"
name="Data Conversion Output"
startId="Package\Data Flow Task\Data Conversion.Outputs[Data Conversion Output]" />
<path
refId="Package\Data Flow Task.Paths[Flat File Source Output]"
endId="Package\Data Flow Task\Sort.Inputs[Sort Input]"
name="Flat File Source Output"
startId="Package\Data Flow Task\Flat File Source.Outputs[Flat File Source Output]" />
<path
refId="Package\Data Flow Task.Paths[Flat File Source Output1]"
endId="Package\Data Flow Task\Sort 1.Inputs[Sort Input]"
name="Flat File Source Output"
startId="Package\Data Flow Task\Flat File Source 1.Outputs[Flat File Source Output]" />
<path
refId="Package\Data Flow Task.Paths[Merge Join Output]"
endId="Package\Data Flow Task\Data Conversion.Inputs[Data Conversion Input]"
name="Merge Join Output"
startId="Package\Data Flow Task\Merge Join.Outputs[Merge Join Output]" />
<path
refId="Package\Data Flow Task.Paths[Sort Output]"
endId="Package\Data Flow Task\Merge Join.Inputs[Merge Join Left Input]"
name="Sort Output"
startId="Package\Data Flow Task\Sort.Outputs[Sort Output]" />
<path
refId="Package\Data Flow Task.Paths[Sort Output1]"
endId="Package\Data Flow Task\Merge Join.Inputs[Merge Join Right Input]"
name="Sort Output"
startId="Package\Data Flow Task\Sort 1.Outputs[Sort Output]" />
</paths>
</pipeline>
</DTS:ObjectData>
</DTS:Executable>
<DTS:Executable
DTS:refId="Package\Execute SQL Task"
DTS:CreationName="Microsoft.ExecuteSQLTask"
DTS:Description="Execute SQL Task"
DTS:DTSID="{5F0CE0EF-19EE-4B91-A038-09B928D11030}"
DTS:ExecutableType="Microsoft.ExecuteSQLTask"
DTS:LocaleID="-1"
DTS:ObjectName="Execute SQL Task"
DTS:ThreadHint="0">
<DTS:Variables />
<DTS:ObjectData>
<SQLTask:SqlTaskData
SQLTask:Connection="{01A41A5B-D34E-4D56-A364-FC01088EBD63}"
SQLTask:SqlStatementSource="truncate table [dbo].[mvfsiMonth]" xmlns:SQLTask="www.microsoft.com/sqlserver/dts/tasks/sqltask" />
</DTS:ObjectData>
</DTS:Executable>
</DTS:Executables>
<DTS:PrecedenceConstraints>