Using variables in Snowflake is denoted by using which SQL character?
Using variables in Snowflake is denoted by using which SQL character?
In Snowflake, variables are denoted by the $ character. This syntax is used to distinguish variables from other identifiers in SQL queries.
set (min, max)=(40, 70); select $min; select avg(salary) from emp where age between $min and $max; https://docs.snowflake.com/en/sql-reference/session-variables.html#:~:text=Using%20Variables%20in%20SQL,-Variables%20can%20be&text=To%20distinguish%20them%20from%20bind,be%20prefixed%20with%20a%20%24%20sign.&text=Because%20the%20%24%20sign%20is%20the,character%20when%20used%20in%20identifiers.
C is correct
correct
Selected Answer: C
https://docs.snowflake.com/en/sql-reference/session-variables.html#variable-identifiers
correct