Using SnowSQL to connect to Snowflake
Previously, we looked at how Snowflake's Web UI allows users to connect to, manage, and query data stored in Snowflake. In this recipe, you will learn how to install Snowflake's command-line interface (CLI) software and use that to connect to a Snowflake instance. You will learn how to achieve this connectivity and look at the steps and required configurations to query data over that connection.
Getting ready
This recipe assumes you are using a Linux machine and have access to the Snowflake Web UI via a compatible browser. Google Chrome is the preferred browser as Snowflake tests the Web UI extensively against Chrome. Since SnowSQL is the command-line interface for Snowflake, you will need to have command-line access to the operating system with superuser/root/administrative
privileges so that you can install any necessary software.
How to do it…
Note that SnowSQL is being downloaded in the home directory of the sfuser...