SSIS Components for Azure Data Management

Build 20.0.7587

JOIN Queries

The CData SSIS Components for Azure Data Management supports standard SQL joins like the following examples.

Inner Join

An inner join selects only rows from both tables that match the join condition:

SELECT RateCards.MeterId,RateCards.MeterRateKey,RateCards.MeterRateValue,ConsumptionData.Quantity FROM ConsumptionData,RateCards where ConsumptionData.MeterId=RateCards.MeterId AND StartTime='2014-05-15' AND EndTime='2018-02-15'

Left Join

A left join selects all rows in the FROM table and only matching rows in the JOIN table:

SELECT RateCards.MeterId,RateCards.MeterRateKey,RateCards.MeterRateValue,ConsumptionData.Quantity FROM ConsumptionData LEFT JOIN RateCards ON RateCards.MeterId=ConsumptionData.MeterId WHERE StartTime='2014-05-15' AND EndTime='2018-02-15'

Copyright (c) 2020 CData Software, Inc. - All rights reserved.
Build 20.0.7587