Skip to main content
Skip table of contents

MotherDuck - Execute Query

Overview

Quickly execute a SQL query against MotherDuck databases. This blueprint is intended for DDL queries (i.e. CREATE, ALTER, DROP) as the results are not returned to Workflows

Variables

NameReferenceTypeRequiredDefaultOptionsDescription
Access TokenMOTHERDUCK_TOKENPassword--The API token for programmatic access to MotherDuck
QueryMOTHERDUCK_QUERYAlphanumeric--The SQL query to execute against MotherDuck
DatabaseMOTHERDUCK_DATABASEAlphanumeric--The optional database to connect to

YAML

Below is the YAML template

YAML

source:
  template: MotherDuck - Execute Query
  inputs:
    MOTHERDUCK_TOKEN:
    MOTHERDUCK_QUERY:
    MOTHERDUCK_DATABASE:
  type: TEMPLATE
guardrails:
  retry_count: 1
  retry_wait: 0h0m0s
  runtime_cutoff: 1h0m0s
  exclude_exit_code_ranges:
    - 200
    - 221
    - 249

      
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.