snowflake-tasksnowflake-cloud-data-platform

Insert into multiple tables using stream & tasks


As per the official documentation, it depicts as though we can insert into multiple tables from a task. Which sounds inaccurate since

am I missing something here? I want to be able to insert into 2 tables reading out of a stream through the task.

multiple tables


Solution

  • You can do this with a multi-table insert:

    https://docs.snowflake.com/en/sql-reference/sql/insert-multi-table.html