How to convert Teradata BTEQ scripts to Snowflake?