Created
July 12, 2017 01:19
-
-
Save tdmitch/7d48323b0957d6b6621003c89e2fe035 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# foreach (var worksheet in worksheetCollection) {#> | |
<Dataflow Name="<#= worksheet.Replace("$", "") #>" DelayValidation="true"> | |
<Transformations> | |
<ExcelSource ConnectionName="Accidents Source File" Name="XLS Accidents - <#= worksheet.Replace("$", "") #>"> | |
<DirectInput>SELECT * FROM `<#= worksheet #>`</DirectInput> | |
</ExcelSource> | |
<OleDbDestination Name="OLEDST Accidents Table" ConnectionName="AccidentData DB"> | |
<ExternalTableOutput Table="[dbo].[AccidentData]"></ExternalTableOutput> | |
</OleDbDestination> | |
</Transformations> | |
</Dataflow> | |
<# } #> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment