snowsql Command Examples

SnowSQL command-line client for Snowflake's Data Cloud. More information: https://docs.snowflake.com/en/user-guide/snowsql.html.

snowsql --accountname {{account}} --username {{username}} --dbname {{database}} --schemaname {{schema}}

snowsql --config {{path/to/configuration_file}}

snowsql --mfa-passcode {{token}}

snowsql --query '{{query}}'

snowsql --filename {{path/to/file.sql}}