top of page
Search
Removing control characters from output
Whilst reviewing some queries recently I was using the text column from sys.dm_exec_sql_text using the plan_handle from...
Adam Thurgar
Nov 4, 20171 min read
Â
Â
Â
Schemas and filegroups
In our consulting travels we don't see a lot of databases that use schemas. Schemas provide a logical grouping, so associated tables can...
Repost - originally posted 21-09-2012
Oct 25, 20171 min read
Â
Â
Â
SQL memory and update usage
A clients servers were having performance issues. As part of the background information we were told that the hosting provider had been...
Repost - originally posted 12-09-2012
Oct 23, 20171 min read
Â
Â
Â
Object naming standards
Do you have a standard naming convention? Most application databases have standard prefixes for tables (tbl_), views (vw_), user stored...
Repost - originally posted 06-09-2012
Oct 20, 20171 min read
Â
Â
Â
Reviewing queries - columns, joins, tables and indexes
Whilst rewriting a lot of T-SQL code to allow a client to change their report delivery mechanism, what we found is that the current...
Repost - originally posted 29-08-2012
Oct 16, 20171 min read
Â
Â
Â
Error log configuration
The default retention for SQL Server error logs is 6. This may cause issues if there are a number of SQL Server restarts, you could lose...
Repost - originally posted 30-10-2012
Oct 13, 20171 min read
Â
Â
Â
SQL PowerShell to the rescue
As part of on going development I was required to run all the database scripts for a new database. This was just less than 300 scripts...
Repost - originally posted 24-08-2012
Oct 11, 20171 min read
Â
Â
Â
Finding redundant columns
The task is to refactor a large SQL Server database design with over 1100 tables, 3500 stored procedures, 600 views and 500 functions....
Repost - originally posted 16-08-2012
Oct 8, 20171 min read
Â
Â
Â
Date time and the remote app (RDS)
We came across a strange issue with a remote application using RDS (Remote Desktop Services). The date and time on one users remote...
Repost - originally posted 09-08-2012
Oct 7, 20171 min read
Â
Â
Â
Standardise database sizes and automation
The default setting for the initial sizing of data and log files (and their autogrowth) is not adequate. I like to make sure that we set...
Repost - originally posted 05-08-2012
Sep 28, 20171 min read
Â
Â
Â
SSIS and source control
As I have written about previously, we are in the process of migrating a large amount of SSIS packages to AWS and also upgrading...
Adam Thurgar
Sep 24, 20171 min read
Â
Â
Â
Migrating SSIS packages to AWS
We are currently migrating a large amount of SSIS packages (SQL Server 2008R2) to SQL Server 2016 at AWS. It has been a learning exercise...
Adam Thurgar
Sep 20, 20171 min read
Â
Â
Â
Review missing index findings before you implement
There are a number of queries widely available that will look at the DMVs and tell you what indexes you may be missing. This is a great...
Repost - originally posted 27-07-2012
Sep 17, 20171 min read
Â
Â
Â
Docker SQL Server Windows containers just don't work
After weeks of trying I have given up. I have tried everything to get a Docker SQL Server Windows container running on a Windows 10 Pro...
Adam Thurgar
Sep 15, 20171 min read
Â
Â
Â
Azure Discovery Day - Sydney
This week I went to the Azure Discovery Day at Microsoft in Sydney. The event was well attended and efficiently run. The presentation...
Adam Thurgar
Sep 14, 20171 min read
Â
Â
Â
Autoclose and autoshrink - set them to off
By running a simple check of your database settings (use helpdb or query sys.databases) you may find databases that are set to autoclose...
Repost - originally posted 19-07-2012
Sep 12, 20171 min read
Â
Â
Â
Report name variable in Sharepoint
Whilst deploying some reports to a new Sharepoint installation I noticed that the global ReportName variable (Globals!ReportName)...
Repost - originally posted 13-07-2012
Sep 9, 20171 min read
Â
Â
Â
Insert query performance improvement
I was asked the other day was there any way to improve the performance of a large number of rows being inserted. My immediate thought was...
Repost - originally posted 05-07-2012
Sep 6, 20171 min read
Â
Â
Â
SQL Server Clustering
Recently we were asked to build a SQL Server cluster. My initial thought was to use some other technology to provide high availability...
Repost - originally posted 29-06-2012
Sep 4, 20171 min read
Â
Â
Â
Hypothetical indexes
We had a query recently about a database that had a lot of objects starting with the name _dta_. We explained that these where...
Repost - originally posted 26-06-2012
Sep 1, 20171 min read
Â
Â
Â
bottom of page
