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.

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...
Friday, 1 May 2009

Function for Determining the First and Last Days of Calendar Months

›
This Scalar-Valued Function below returns the last day of the month for the date passed into it. For example running: SELECT [dbo.][fn_Ge...
‹
Home
View web version

About Me

Thomas Mucha
View my complete profile
Powered by Blogger.