Author: Kevin

  • Expunging data, the Snowflake way.

    Sometimes, in Snowflake as well as in SQL Server, you’re forced to delete data. Hopefully, you’re not deleting from the main table of a database in Production, but that is definitely one way to wake up in the morning. If you’re only deleting from one table, then Snowflake is like SQL Server in the formatting…

  • Insert differently with Snowflake and SQL Server

    One of the things that I’ve gotten used to with Snowflake is that it’s just different. Well, today, I’ve got some goodness for y’all – and in a place that you really wouldn’t expect – the INSERT statement. For most of your everyday use, it works exactly as you’d expect. As some would say, it…

  • Somehow I like Snowflake more and more

    It’s no secret that I like Snowflake. When I say like, I mean that I like some of the different ways that I can find data within other data. For example, see this post from last time. This time, I want to show why one of the many operators are used over another and what…

  • I like Snowflake More and More

    With SQL Server, you’ll find that, quite often, when dealing with strings, you’re almost stuck using the like operator to check if items are “like” another string. I don’t know how many times I’ve done something like the following: Hopefully, many of you get the gist of the above. We’re wanting anything that shows in…

  • SELECT Something New in Snowflake

    Sometimes you think you have something down. With years of SQL Server experience, you would think you’d know at least the basics of the SELECT statement no matter the relational database. Well, my friends, you’d be wrong. With Snowflake, we could do many different things that we’re not used to seeing with a SELECT statement.…

  • Making the SELECT work in Snowflake

    With our last blog post, we started discussing Snowflake and the SELECT statement. Now, if you remember, there is this great thing called a semi-colon. The main reason you should use the semicolon is to terminate all of your queries. Snowflake does this great thing by default, letting you run one query at a time.…

  • Checking Out Snowflake

    Over the years, I’ve learned a decent amount of things when it comes to Microsoft’s SQL Server. Even with the new SQL Server 2022 which was just announced as being generally available just last week. But, sometimes, you just want to bust out of the old grind and do something a bit different. For me,…

  • Counting Down the Emails

    Sometimes everyone has to do things outside of a database. One of those times, at least for me, was today. Over the past week, I have been getting emails from a SQL Server that has issues – hence why I was called in to check it out. In my inbox, I had hundreds of emails!…

  • Error Messages can be Helpful

    Sometimes you just run into a situation you have to blog about. This time, I want to talk about the fun error messages that everyone is supposed to be watching out for. Whenever a process errors out, in most corporate environments there is usually one of two things that happen: Someone manually notifies a specified…

  • Transactions should (never) be distributed

    For the last few blog posts, we’ve been talking about transactions. If you’ve missed any, be sure to click on the links below: Using Save Points with Transactions to Get Better How about we TRY and CATCH some Transactions? Setting up a Friendly TRANSACTION In the version of transactions that we going to discuss today,…