About 6,310 results
Open links in new tab
  1. SET - Snowflake Documentation

    The following example shows the result when a SET command evaluates all of the expressions on the right-hand side of the …

  2. SQL variables - Snowflake Documentation

    You can set variables by executing the SQL statement SET or by setting the variables in the connection string when you connect to …

  3. sql - Set vs let vs declaring variables in snowflake - Stack Overflow

    May 18, 2023 · DECLARE indicates a block of code used to define variables at the start of your SP, before you want to use them. …

  4. sql - how to set a variable as a list of values? - Stack Overflow

    Jan 10, 2024 · I want to define a variable in Snowflake, which contains a list of values, so I can reuse this variable in different SQLs. …

  5. How to Write Parameterized Queries in Snowflake (Using Session Variables

    Jul 21, 2026 · Learn how to write parameterized queries in Snowflake using session variables and the SET command to create …

  6. How to DECLARE variable in Snowflake? - CastorDoc

    Learn how to declare variables in Snowflake and efficiently manage your data processing tasks.

  7. How to run a query with parameters in Snowflake - Datameer

    Mar 8, 2021 · Query parameters are a way to specify variables in a query so that a query can be reused with the ability to swap out …

  8. When using variables in SQL statements (variable binding), variable ...

    Snowflake scripting follows a different syntax to identify variables. In scripting the variable binding is done by prefixing a colon : …

  9. Variables in Snowflake Stored Procedure - ThinkETL

    Feb 21, 2023 · What are Variables in Snowflake Stored Procedure? A Variable is a named object which holds a value of a specific …

  10. How to declare a variable in Snowflake? - clrn.org

    Jul 2, 2025 · We’ll explore how leveraging variables can enhance the flexibility, readability, and maintainability of your SQL code and …