Ravi Kapoor
Ravi Kapoor

Reputation: 21

If Then Block using SnowSQL in snowflake

Is there a way to achieve If then computational logic using snowsql commands like we have in Teradata Bteq Commands as below:

    .if 1 >= 0 then select department_id from department;
    .if ACTIVITYCOUNT > 0 then select employee_id from employee

Upvotes: 0

Views: 99

Answers (0)

Related Questions