T-SQL Join Types In SQL Server Pro's June Issue
Written by Ian Stirk   
Monday, 10 June 2013

Now you have no excuse not to know about the common T-SQL join types! The June issue of the online subscription magazine provides a comprehensive introduction to the commonly used join types.

While the article is aimed at the beginner, it can also serve as a refresher for experienced SQL developers. It is easy to read, and provides some great examples of how and when to use the different join types. Simple Venn diagrams are used to illustrate the join types, together with the inclusion of sample data from two tables.

The join types discussed are:

  • Inner

  • Left Outer

  • Right Outer

  • Left Outer with exclusions

  • Right Outer with exclusions

  • Full Outer

  • Cross

 The editorial discusses The SQL Server Community, and continues the recent editorial relating to advancing your SQL skills via the community. Further useful resources are supplied, including seminars from Kalen Delaney, PASS, and SSWUG. Additionally, there are details of a very unusual SQL Cruise course, where you can take a one week cruise and learn about SQL Server – it’s a novel idea, I wonder if it will catch on…

In an insightful article, Itzik Ben-Gan discusses Unwanted T-SQL Expression Failure. Sometimes you don’t want your SQL expressions to fail catastrophically, returning a NULL instead might be a better alternative. Various examples of such failures are given (e.g. divide by zero, arithmetic overflow) together with a future possible solution i.e. a proposed new keyword TRY_EXPRESSION.

If you need to provide estimates of future values e.g. sales forecasts, you should investigate the forecasting capabilities included in SQL Server Analysis Services (SSAS). Tyler Chessman provides such an introduction via Understanding Time Series Forecasting Concepts. The basic premise being: Forecast value = base + trend + seasonal factor. It’s a detailed discussion, perhaps a little academic in parts, but a great backgrounder, with some useful next steps.

ssmagtime

 

Michael Otey briefly reviews 4 Essential PowerShell Cmdlets for SQL Server. PowerShell is increasingly being used to manage SQL Server, so it’s certainly a skill worth mastering. The cmdlets discussed include a navigation component (with useful DOS like commands), running T-SQL via a cmdlet (ideal for cross-server admin tasks), and getting help (this is particularly useful for beginners).

The lead article in this month’s magazine was outstanding, some of the other features are also worth reading. However, there was no Question and Answer feature this month, additionally there was a lack of incidental articles – both of these often provide a snippet of information that can payback 10-fold, so overall this month’s magazine was a bit disappointing.

 

tsqljoins

Banner


Firefox Marks 10th Anniversary
10/11/2014

On November 9, 2004 Mozilla released Firefox 1.0. It is celebrating its first decade with the release of Firefox 33.1, billed as a browser for developers.



Full Visual Studio Now Free
14/11/2014

Microsoft has announced Visual Studio Community edition, which is in no way a cut down version. It is free not only for education and open source projects but for individual developers and teams of fi [ ... ]


More News

Last Updated ( Monday, 10 June 2013 )
 
 

   
RSS feed of news items only
I Programmer News
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.