SSIS Components for DigitalOcean

Build 20.0.7587

Using the Source Component

After Establishing a Connection to the data source, you can use the CData DigitalOcean source component to pull data into your Data Flow task.

Querying DigitalOcean Data with the Source Component

Follow the procedure below to connect to DigitalOcean, retrieve data, and provide data to other components in the workflow.
  1. In the SSIS Toolbox, drag the CData DigitalOcean source component into the Data Flow task.
  2. Double-click the CData DigitalOcean source component. The CData DigitalOcean Source Editor will display.
  3. In the Connection Managers menu, select an available CData DigitalOcean connection manager, or create a new instance if one is not already available.
  4. Choose your Access Mode: "Table or View" or "SQL Statement". Select "Table or View" to use the GUI to select a table or view. Select "SQL Statement" to configure a statement of your choice.
  5. Select the Columns tab and rename any output columns as desired.
When you execute the data flow, rows from your selected table or statement will be made available to the components in the data flow.

See SELECT Statements for the supported SQL syntax and examples. See Calling Stored Procedures for how to call stored procedures.

Building Parameterized Queries in the Expression Builder

After configuring a source component, you can then use the SSIS Expression Builder to access the SQL statement that the source component executes at run time.

The component will execute these queries as parameterized statements. Parameterized statements provide an efficient way to execute similar queries and mitigate SQL injection attacks.

  1. In SSIS Designer, click the Control Flow tab.
  2. In the Properties pane, click the button in the box for the Expressions property.
  3. In the resulting Property Expressions Editor, click an empty row in the Property box and select the SQLStatement property of the CData DigitalOcean source component from the drop-down menu. Then click the button in the row you just added. This displays the Expression Builder.
  4. In the Expression box, you can create new SQL commands that use the variables available at run time as input parameters. Ensure that you enclose the expression in quotes. For example:
    "SELECT * FROM Table WHERE FirstName = '" + @[User::Name] + "' AND Date > '" + (DT_WSTR, 50) DATEADD("day", -30, GETDATE()) + "'"

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