DEPRECATED: Starting with SSIS+ 1.9, the .NET scripts are no longer maintained. Use the provided JavaScript alternative scripts instead.
Average: 3.8 (24 votes)


Overview

Data flow source, loading information from Open Data Protocol (OData) source.


Setup

The script has the following parameters:

  • Connection - selects HTTP connection.
  • BatchSize - specifies number of rows to be retrieved as batch.
  • Collection - selects OData collection.
  • IsQueryVariable - indicates whether the query statement is stored in a variable.
    • Query - specifies query statement.
    • QueryVariable - selects variable containing query statement.

Example

To get crime data for Chicago specify:

  • Collection - https://api.datamarket.azure.com/Data.ashx/data.gov/Crimes/CityCrime
  • Query - $filter=City eq 'Chicago'

Requirements

Depends on COZYROC Script Component Plus for implementing parameters user interface.


Library references

  • System
  • System.Data
  • Microsoft.SqlServer.TxScript
  • Microsoft.SqlServer.PipelineHost
  • Microsoft.SqlServer.DTSPipelineWrap
  • Microsoft.SqlServer.DTSRuntimeWrap
  • Microsoft.SqlServer.ManagedDTS
  • CozyRoc.SSISPlus
  • System.XML

ScriptMain