My Humble SQL Tips

I'm keeping this blog as a repository for SQL tips and tricks I have learned over my time working with SQL Server.

Friday, 20 August 2010

Comparing Rows in a Table

›
As all SQL professionals will know sqlservercentral.com is an amazing resource. In an entry titled Linking to the Previous Row the author,...
Wednesday, 4 August 2010

Parse a Comma Separated List

›
Here is a simple user-defined function to parse a comma separated (or any other character separated) list and return a table of the values i...
Tuesday, 13 July 2010

A Quick Cheat to Create a Comma Separated List

›
The select statement below is an easy way of creating a comma separated list within a larger select query without the need for a cursor, use...
Monday, 5 July 2010

Find SSRS Subscription Jobs

›
A helpful query found on Patrick LeBlanc's blog : The result set returns a list of SQL Server Reporting Services Reports matched ...
Monday, 4 January 2010

Problems Moving tempdb Files

›
I had a situation where I had miscalculated the disk I/O load of the TempDB data and log files and therefore needed to alter the RAID config...
Wednesday, 18 November 2009

Set up Database Mail - SQL Server 2005

›
I found the following set of scripts at techrepublic.com Running the scripts after customising the variables to match your/your company...
Tuesday, 25 August 2009

List tables files and filegroups

›
Here's a simple query to get a list of database tables and the files and filegroups they are assigned to: I found this helpful tip on...
Friday, 14 August 2009

Calculating British Summer Time (BST)

›
I ran into a problem where time sensitive data was being sent to Sales staff. Our servers are permanently set to Greenwich Mean Time (GMT) ...
16 comments:
Thursday, 18 June 2009

Padding a String With a Zero (0)

›
I constantly had the problem that I needed to use DATEPART to create filenames and other customized strings from dates. The problem is that ...
Wednesday, 13 May 2009

Stored Procedure to move user database files

›
The following stored procedure allows you to move all files, including any fulltext catalogs, of a specific database. To run: I still...
‹
›
Home
View web version

About Me

Thomas Mucha
View my complete profile
Powered by Blogger.