If Then Block using SnowSQL in snowflake

103 Views Asked by At

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
0

There are 0 best solutions below