Snowflake · Arazzo Workflow
Snowflake Create Table and Insert Rows via SQL
Version 1.0.0
Run a CREATE TABLE DDL statement, then run an INSERT statement against it.
Provider
Workflows
create-table-and-insert-via-sql
Create a table with a DDL statement, then insert rows with a second statement.
Submits a CREATE TABLE statement followed by an INSERT statement through the SQL API, chaining the two so the insert runs only after the create returns a successful result.
1
createTable
submitStatement
Submit the CREATE TABLE DDL statement. A 200 indicates the table was created successfully.
2
insertRows
submitStatement
Submit the INSERT statement against the newly created table. A 200 returns execution stats including the number of rows inserted.