Hi All
I have the following xml data and want to load in to sql server , Can you please let me know how do i achieve this using ssis, When using XML source i am getting multiple Column Headers
<UtilityInvoices xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<UtilityInvoice UtilityInvoiceID="">
<UtilityAccount AccountID="123">
<AccountNumber>456</AccountNumber>
<EnergyTypeInfo>
<EnergyTypeName>A</EnergyTypeName>
<ConsumptionUoM xsi:nil="true" />
</EnergyTypeInfo>
</UtilityAccount>
<DateInfo>
<InvoiceDate>2014-06-30 00:00:00</InvoiceDate>
<FromDate>2014-06-01 00:00:00</FromDate>
<ToDate>2014-06-30 00:00:00</ToDate>
<UsagePeriodDays>12</UsagePeriodDays>
</DateInfo>
<UsagePeriod>6/2014</UsagePeriod>
<ChargesInfo Currency="USD">
<DeliveryCost>3.82</DeliveryCost>
<SupplyCost>0</SupplyCost>
<TotalCost>3.82</TotalCost>
</ChargesInfo>
<EnergyInfo>
<ConsumptionInfo>
<TotalConsumption xsi:nil="true" />
<UomName xsi:nil="true" />
</ConsumptionInfo>
<DemandInfo>
<Demand xsi:nil="true" />
</DemandInfo>
</EnergyInfo>
<MiscInformation />
<CombinedFrom CombinedRecord="true">
<IncludesCode>
<Code>1</Code>
<CodeDescription>Si</CodeDescription>
</IncludesCode>
</CombinedFrom>
<ECAInformation>
<LinkToECAPresent LinkToECAPresent="true" />
<ECAName>E 12</ECAName>
<ECAAddress>
<FullAddress xsi:nil="true" />
<AddressDetails>
<Line1>1 s street</Line1>
<Line2 xsi:nil="true" />
<City>abcd</City>
<Zip>12345</Zip>
<StateFullName>west</StateFullName>
<StateAbbreviation>w</StateAbbreviation>
<CountryName>ABCD</CountryName>
</AddressDetails>
</ECAAddress>
</ECAInformation>
</UtilityInvoice>
</UtilityInvoices>
Thanks