![]() |
VOOZH | about |
This article illustrates using the OpenWeatherMap ADO.NET Data Provider within a SQL Server SSIS workflow for the direct transfer of OpenWeatherMap data to a Microsoft SQL Server database. It's worth noting that the identical process detailed below is applicable to any CData ADO.NET Data Providers, enabling the direct connection of SQL Server with remote data through SSIS.
In the Data Flow screen, add an ADO.NET Source and an OLE DB Destination from the toolbox.
👁 The components used in the data task in this example.In the connection manager, enter the connection details for OpenWeatherMap data.
To obtain an API key, sign up for a free account at https://openweathermap.org/api and navigate to the API keys section of your dashboard. Copy your API key for use in the connection configuration.
After setting the following connection properties, you are ready to connect:
Open the DataReader editor and set the following information:
SELECT , FROM AccumulatedPrecipitation WHERE Latitude = '40.7128'
Open the OLE DB Destination and enter the following information in the Destination Component Editor.
Configure any properties you wish on the Mappings screen.
👁 Input and destination columns in the OLE DB Destination Editor.Connect to live data from OpenWeatherMap with the API Driver
Connect to OpenWeatherMap