Pushing data into one table from another in Snowflake

Most of us have run across the scenario where we have data in one table, but we need the exact same data in another table in another database. In SQL Server, I’d do it this way: INSERT INTO TableB (FirstName, LastName) SELECT FirstName, LastName FROM TableA; Yes, pretty simple. Basically, we’re grabbing all of the…… Continue reading Pushing data into one table from another in Snowflake

Sending out Emails from your database

To send an email in SQL Server, all that’s required is a fairly simple call of a stored procedure created by Microsoft. EXEC msdb.dbo.sp_send_dbmail @recipients = ‘sherpa@sherpaofdata.com’, @body = ‘The stored procedure finished successfully.’, @subject = ‘Automated Success Message’; Now, there are several more parameters you can use. Below are some of my favorites that…… Continue reading Sending out Emails from your database

Comparing Email Configuration in SQL Server and Snowflake

Today, I want to talk about all the effort that goes into setting up the ability to email in SQL Server and Snowflake. First is our old friend – SQL Server. I’ll leave this one to the experts at Microsoft. As has been the case over the last few years, they have some great documentation…… Continue reading Comparing Email Configuration in SQL Server and Snowflake