Video | Snowflake | Data engineering | Data prep

Load data into Snowflake using a SQL statement

Before I could demo row level security in Tableau, I had to get the sample data into Snowflake from scratch using nothing but a SQL statement.

  • Snowflake database names can't contain spaces, so use underscores when creating one through the interface
  • If you don't own the database you need to set up the relevant role privileges before creating tables and inserting data
  • In the Snowflake worksheets you must specify the target database and schema in the top-right context before running SQL, or it will error
  • Highlighting just the SQL you want and clicking run is a safer habit than executing an entire script at once
  • You can preview loaded rows either via the preview data button or by right-clicking the table in the object explorer

00:00 - Intro00:59 - Setting up02:25 - Using worksheets to run the SQL03:26 - Running the SQL to create the Table04:20 - Insert values04:57 - Load the data into the create tableFollow me on Twitter: https://twitter.com/TableauTimMy recording gear & what’s on my desk. https://kit.co/TableauTim/desk-setup My website: https://www.tableautim.com/My place of work: https://www.theinformationlab.co.uk/