Overview
Executes an SQL statement in Snowflake.
You have to install and use SSIS+ 2.3 or above.
Setup
The script has the following parameters:
- RestConnection - select a valid Snowflake REST CM.
- Statement - the actual statement to be executed, it can contain variables e.g.
SELECT * FROM @[User::TableNameVar]. - Warehouse - specifies a warehouse.
- Timeout - specifies the request timeout.
- ResultVar - specify a variable which will store the result JSON as string.
- WaitForResponse - specify whether you want partitions to be handled for large responses.
Configuration
To use this script, you would need to load it in COZYROC JavaScript Task. If you are using COZYROC SSIS+ 2.0 or later, after selecting the corresponding script type and opening the component editor, you can select the script from a dropdown list with the pre-built scripts. For COZYROC SSIS+ 1.9, you can download the JavaScript file and browse to it via the "Import JavaScript code" button.
Knowledge Base
COZYROC SSIS+ Components Suite is free for testing in your development environment.
A licensed version can be deployed on-premises, on Azure-SSIS IR and on COZYROC Cloud.
