title: How to get definition of all the VIEWS in a Snowflake database?
body: <p>The ask is to get the definition of all the views from Production environment and refresh the lower environment. I assume, GET_DDL in a loop will suffice the need but not sure how to implement it. Please advise.</p>