Join us May 11th @ 12 pm PST – Steve Stedman will teaching a FREE lesson on SQL Server Join Types. TSQL joins – what’s the difference, and how can you use joins correctly? Sometimes an inner join is the right join type to use, other times the left outer join, right outer join, full outer join, cross join or …

TSQL Basics: SQL Server Join Types Webinar Read more »

Have you ever wanted to create a recursive query, but didn’t see how to do it. With the Common Table Expressions session you will learn everything needed to start using CTE’s for recursive queries, as temporary views, and to use the result set multiple times in the same query. Learn how simplify query syntax using CTE’s. One of the most …

Common Expression Tables – Introduction Read more »

The following is chapter 6 from my Common Table Expressions book in its entirety. READER NOTE: Please run the CTEBookSetup.sql script in order to follow along with the examples in this chapter. The script mentioned in this chapter is available at http://SteveStedman.com. Thinking of the proverb “two heads are better than one” makes me think, it really depends on the people. Two people working together are …

Multiple CTEs in a Query Read more »

The following is chapter 5 from my Common Table Expressions book in its entirety. READER NOTE: Please run the CTEBookSetup.sql script in order to follow along with the examples in this chapter. The script mentioned in this chapter is available at http://SteveStedman.com. Hierarchical CTEs When looking at the table of contents for a book it is generally represented as an outline of some kind utilizing indentation, …

Hierarchical Queries Read more »

The following is chapter 4 from my Common Table Expressions book in its entirety. READER NOTE: Please run the CTEBookSetup.sql script in order to follow along with the examples in this chapter. The script mentioned in this chapter is available at http://SteveStedman.com. Recursive CTEs Have you ever solved a maze puzzle on paper, or had the opportunity to visit a …

Recursive CTEs Read more »

On March 23rd I will be presenting at SQL Saturday in Spokane WA. There is still time to register for this event, so you can still sign up today. My presentation will be on user defined Functions. TSQL User Defined Functions – Taboo or not? Duration: 60 minutesTrack: Enterprise Database Administration & DeploymentLevel: IntermediateFor years user defined functions (UDFs) have been the nemesis …

SQL Saturday – Spokane WA Read more »

We will be visiting SQL Saturday in Victoria Canada on March 16th. After the last SQL Saturday that I tried to attend was snowed out in Redmond a few weeks ago, I am ready for Victoria. I will be presenting on Database Corruption, one of my favorite presentations. Here are the session details: Basics of Database Corruption Repair Duration: 60 minutesTrack: AdminLevel: IntermediateYour …

SQL Saturday Victoria Canada Read more »