One of the common ways of interacting with the database is CLI. Let's do a quick exercise to load data into the Snowflake and then connect Tableau.
Using SnowSQL CLI
How to do it...
- At the GUI, you can click on Help and choose Download.
- Download the CLI client (snowsql) for your OS. In my case, I am using macOS.
- Install the file.
- Connect the Snowflake instance. In our case, we are using macOS. Open a command line and run the following command:
/Users/anoshind/Applications/SnowSQL.app/Contents/MacOS/snowsql -a <account name> -u <user name>
In our case, we have -a DZ27900 -u tableaucookbook. It will ask for a password. After successful authentication, we connected to Snowflake.
- Now, we can start to create...