Wise Owl's Blog
Making Sense of Software

Excel | Microsoft training in London, UK

SQL blogs

New in SQL 2012 - code snippets and surrounding code

Posted by Andy Brown on 15 May 2012 | no comments
In a previous blog on new features of SQL 2012, I missed out the ability to insert code snippets, and also to embed or surround code in an IF, BEGIN or WHILE block. This blog rectifies this!
Tags:   SQL Server 2012 / SQL 2012   |   SQL / General

New features for SQL within SQL Server 2012

Posted by Andy Brown on 08 May 2012 | no comments
SQL 2012 has 14 new functions, a new FileTable construct and new ways to sequence and fetch records - as this blog explains.
Tags:   SQL Server 2012 / SQL 2012   |   SQL / General

Introduction to SQL Server Management Studio

Posted by Andrew Gould on 30 April 2012 | no comments
Before you get into writing SQL Queries you should take some time to familiarise yourself with the application in which you'll be spending most of your time. This blog shows you the basics of SQL Server Management Studio.

This blog is part of a complete SQL Server tutorial.

Tags:   SQL / Tables and columns

Designing databases for SQL Server and Access

Posted by Andy Brown on 23 April 2012 | no comments
Designing relational databases is easy once you learn the few basic rules, and the procedure is identical whether you're using SQL Server or Access. This blog illuminates the subject!

This blog is part of our tutorial on writing SQL.

Scheduling Data Imports in SQL Server

Posted by Andrew Gould on 27 February 2012 | no comments
If you frequently import data into a SQL Server database from the same source you'll probably be sick of going through the import wizard again and again. So why not learn how to schedule an automatic import of your data using SSIS packages and the SQL Server Agent? This blog explains how to do exactly that!
Tags:   SQL / Tables and columns

How to Edit all Records in a SQL Server 2008 Table

Posted by Andrew Gould on 16 February 2012 | no comments
This blog explains how you can get access to all of the records in a SQL Server 2008 table when you try to edit them, rather than just the top 200.
Tags:   SQL / Tables and columns

Calculating Age in SQL with a User-Defined Function

Posted by Andrew Gould on 16 February 2012 | no comments
A common requirement in SQL queries is calculating a person's age. The expression you need to do this accurately is relatively long, so why not replace it with a user-defined function? This blog shows you how!

This blog is part of our complete SQL Tutorial.

Tags:   SQL / Calculations   |   SQL / Functions

Changing Settings in SQL Server Management Studio

Posted by Andrew Gould on 16 February 2012 | no comments
If you've spent time in the SQL Server Management Studio application you'll probably have noticed that it's not the most user-friendly environment for writing SQL queries. This blog explains how to change a few settings to make your query writing just a little easier.

You can find many more articles like this in our complete SQL tutorial.

Tags:   SQL / SQL programming

SQL Server Tutorial

Posted by Andrew Gould on 13 February 2012 | no comments
This article provides a comprehensive tutorial in Microsoft SQL Server, taking you from the basics of writing SELECT statements all the way through to creating complex stored procedures.
Tags:   SQL / Selecting data   |   SQL / WHERE criteria   |   SQL / Calculations   |   SQL / Joins   |   SQL / Grouping   |   SQL / Stored procedures   |   SQL / Transactions   |   SQL / CTEs, subqueries

Dates and Times in SQL Server

Posted by Andrew Gould on 13 February 2012 | no comments
Dates and times can be the most frustrating data types to work with in SQL Server. Learn everything you need to know about the way dates work with this handy blog series and enjoy happier times!

This blog is part of a larger tutorial on SQL Server, which you can read here.

Tags:   SQL / WHERE criteria   |   SQL / Calculations

Common Table Expressions (CTEs) - SQL Training

Posted by Andy Brown on 20 October 2011 | no comments
This blog gives training on writing CTEs in SQL, or Common Table Expressions to give them their full title. The blog also includes a section on creating recursive CTEs.

You can find many more articles like this on our SQL tutorial page.

Tags:   SQL / CTEs, subqueries

Temporary Tables in SQL - a Training Blog

Posted by Andy Brown on 20 October 2011 | no comments
If you want training in how to use temporary tables in SQL, read on! This blog shows how to create temporary tables and how to drop them safely whether or not they exist. Finally, the blog lists the pros and cons of using temporary tables in SQL.

This article is part of a complete SQL tutorial.

Tags:   SQL / Tables and columns
Adding a first or default item to a list control which gets its data from a table can be tricky. This blog gives an elegant solution using UNION queries, which works equally well for ASP.NET dropdown controls, Windows Forms dropdowns or Access combo boxes.
Tags:   SQL / Selecting data   |   Access / Forms and subforms   |   ASP.NET / ADO.NET and data

Access project ADP file extended properties error

Posted by Andy Brown on 21 December 2010 | 1 comment
When you try to view data for a table in an Access project with an ADP extension, Access can throw a wobbly. Here's why!