Microsoft training courses | Wise Owl - home page

Phone (01457) 858877 or email

SQL Server blogs

Showing blogs 1-20 (out of 84)

Thoughts on working with SSIS 2008 and SSIS 2012

Posted by Andy Brown on 12 March 2014 | no comments
Some thoughts and advice to those who have to shuffle between versions 2012 and 2008 of Integration Services.
Tags:   SSIS / General SSIS
This blog provides the SQL, C# and VB script needed for the Integration Services script components tutorial.
Tags:   SSIS / Scripting

Triggers in SQL Server

Posted by Andrew Gould on 27 November 2013 | no comments
Triggers are special stored procedures that execute automatically in response to certain events in a database. This blog explains how to create three types of trigger in SQL Server: DML, DDL and Logon triggers.
Tags:   SQL / General

Transactions in SQL Server

Posted by Andrew Gould on 11 October 2013 | no comments
This blog examines how to use Transactions in Microsoft SQL Server to allow you to control when data changes are committed to the database. You'll also discover how you can rollback transactions, effectively giving you the chance to undo changes to your data.
Tags:   SQL / Transactions
SQL Server 2012 introduces new functions to find the previous or subsequent value for a row, without using a complicated self-join. This blog explains how to use LAG and LEAD, including partitioning row sets.
Tags:   SQL / Calculations   |   SQL Server 12 / SQL 2012
Writing SQL in Management Studio could, Wise Owl feel, be made a little easier: here are 10 practical suggestions for how!
Tags:   SQL / General
This blog shows how to conditionally hide, display or format parts of a report according to its render format (ie whether you're viewing it in Excel or not). The method used is slightly different between 2008 R2 and 2012.
Tags:   SSRS / Expressions   |   SQL Server 12 / SSRS 2012

How to debug T-SQL queries and stored procedures

Posted by Andy Brown on 06 June 2013 | no comments
This blog gives the low-down on how to start and use the debugger included in SQL Server Management Studio 2008 R2 and SSMS 2012.
Tags:   SQL / Errors, debugging

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 | 1 comment
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.

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

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
1-20   21-40   41-60   61-80   81-84  

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