So, as you can tell from the lack of posts over the past few months, I have been more than just busy. Between moving into a new house, moving my son into a college dorm, several SQL Saturdays, and just general work items, it has been extremely hectic. But, I am back now, and my…… Continue reading And We’re Back!
Category: SQLBasics
Concatenation of Strings!
Now, I know for most of you, this seems like a rather simple idea. The definition of concatenation is, according to Dictionary.com is : verb (used with object) 1. to link together; unite in a series or chain. Simply put, you combine two or more strings together to form a new string. So, the first…… Continue reading Concatenation of Strings!
Merging Data Sources – Part 3
Now, when I last posted, I’m sure you thought I was done talking about the MERGE statement. You are so wrong, compadre! One more post is absolutely needed! There are a few issues with the MERGE statement. Well, as of this writing, there are 361 possible issues according to Microsoft Connect – the actual website…… Continue reading Merging Data Sources – Part 3
Merging Data Sources Part II
The last time we were together, we learned how to use the MERGE statement when we wanted to insert rows that didn’t exist and update rows that didn’t. This time we’re going to add onto that. We’re adding the seldom used, but delightfully potent – delete rows that no longer exist in the original table.…… Continue reading Merging Data Sources Part II
Merging Data Sources
Merging Data Sources, part 1
Getting rid of data
In previous posts, we’ve talked about SELECTing data, INSERTing data, and UPDATEing data. Now, what do we do if we want to just get rid of the data? Now, in most scenarios, you really don’t want to get rid of data. As a data professional, it is definitely not a good idea to get rid…… Continue reading Getting rid of data
Inserting the data
This time, we learn about inserting data!
Updating a data source
Learning to write an UPDATE SQL Query
Reading from a data source
Last time we listed out several things that can be done with or to a data source. Now all of the examples we’ll be using in this series will use a database as a data source. It will allow us to discuss another of my favorite topics — SQL — while we talk about what…… Continue reading Reading from a data source