Microsoft training courses | Wise Owl - home page

Phone (01457) 858877 or email

Wise Owl Blog - Home Page

Showing blogs 1-20 (out of 208)

If you have a colleague who trusts you, you could always betray this trust by sending them a workbook which misbehaves: it won't close and you can't leave it!

Deleting and Updating Records in SQL

Posted by Andrew Gould on 08 May 2013 | no comments
This blog teaches you how to modify existing data in your database by either deleting records or updating them.
Tags:   SQL / Transactions
You can use BEGIN TRY to trap errors from SQL Server 2005 onwards, and also raise your own errors using RAISERROR or THROW - this blog explains all!
Tags:   SQL / Errors, debugging
For the sake of completeness, this blog explains how to join to the results of table-valued functions (like a correlated subquery on steroids).
Tags:   SQL / Joins   |   SQL / Functions

Output Parameters and Return Codes in SQL Server

Posted by Andrew Gould on 26 April 2013 | no comments
This blog teaches you how to return values from your SQL stored procedures using two different techniques: return codes, and output parameters.
Tags:   SQL / Stored procedures

Problems with Shared Datasets and Subreports in SSRS

Posted by Andrew Gould on 23 April 2013 | no comments
If you're using shared datasets to populate subreports in Reporting Services you might have encountered an error when you preview your reports. This short blog explains what the problem is and offers a few simple suggestions to work around the issue.
Tags:   SSRS / Lists, subreports

Dynamic SQL

Posted by Andrew Gould on 22 April 2013 | no comments
Dynamic SQL is a technique for building valid SQL statements from separate pieces of text. You can use this technique to create remarkably flexible and useful queries, as long as you're aware of the potential danger of SQL injection attacks.
Tags:   SQL / Dynamic SQL

Variable Scope in Integration Services 2012

Posted by Andy Brown on 16 April 2013 | no comments
A quick blog on how to change the scope of any variable in SQL Server Integration Services 2012.

Problems connecting to Excel workbook from SSIS

Posted by Andy Brown on 16 April 2013 | no comments
A short blog explaining why you might have problems connecting to an Excel workbook from SSIS.
Tags:   SSIS / Data flow

Derived Tables in SQL

Posted by Andrew Gould on 08 April 2013 | no comments
A derived table is a technique for creating a temporary set of records which can be used within another query in SQL. You can use derived tables to shorten long queries, or even just to break a complex process into logical steps.
Tags:   SQL / CTEs, subqueries

SSIS: Executing SQL statement for each file

Posted by Andy Brown on 05 April 2013 | no comments
How to store the name of each file in a folder in a SQL Server table using an Integration Services package.

The similarities between particle physics and SEO

Posted by Andy Brown on 04 April 2013 | no comments
SEO may not be rocket science, but it shares a big principle with theoretical physics, as this blog explains.
Tags:   SEO / General musings

Problem with using VBA to create chart labels

Posted by Andy Brown on 04 April 2013 | no comments
If your chart has more than a thousand data labels, this blog explains why you may experience problems.
Tags:   Excel / Charts   |   VBA macros / Excel Visual Basic

Using Cursors in SQL Server

Posted by Andrew Gould on 26 March 2013 | no comments
Cursors allow you to step through a set of data one record at a time. They’re not the quickest tool in SQL Server’s box, but they have their uses and this blog explains how they work.
Tags:   SQL / Cursors

How to use the RANKX function in PowerPivot

Posted by Andy Brown on 20 March 2013 | no comments

This blog shows how to use each of the 5 arguments of the RANKX function to rank rows in PowerPivot.

Tags:   PowerPivot/DAX / DAX

Loops in SQL

Posted by Andrew Gould on 18 February 2013 | no comments
Many programming languages feature a variety of types of loop which allow your programs to repeat a set of instructions multiple times. In SQL there is only one type of loop, and this blog explains how it works!
Tags:   SQL / SQL programming

Inline and multi-statement table-valued functions

Posted by Andy Brown on 08 February 2013 | no comments
This blog shows you how to create table-valued functions in SQL (ie functions which return a table of data!).
Tags:   SQL / Programming tables

How to create and use table variables in T-SQL

Posted by Andy Brown on 08 February 2013 | no comments
Table variables allow you to hold rows of data in temporary storage, without any processing overhead. Read this blog to add this technique to your SQL armoury!
Tags:   SQL / Programming tables

Exporting data from SQL Server Management Studio

Posted by Andrew Gould on 04 February 2013 | no comments
While SQL Server Management Studio is a powerful tool for writing queries, it has absolutely no concessions towards making the results of those queries remotely presentable! This blog describes several techniques for getting the results of a query into another application so that you can format them to your heart’s content.
Tags:   SQL / General

Scalar User Defined Functions in SQL Server - UDFs

Posted by Andrew Gould on 01 February 2013 | no comments
If you have a calculation that you frequently use in SQL queries you're probably bored of writing out the same code time after time. Why not try creating a user-defined function to save you the hassle? This blog teaches you how to define your own custom functions, including how to use input parameters, how to alter a function after you've created it, and even how to use fancy programming techniques such as variables and IF statements to help structure complex sequences of calculations.
Tags:   SQL / Functions
1-20   21-40   41-60   61-80   81-100          Next

All content copyright Wise Owl Business Solutions Ltd 2013. All rights reserved.