Control flow in SQL used to be a pain. Snowflake Scripting makes it native. How to write loops, exception handlers, and cursors.