Blog Archives

SQL Tip: Pre and post installation checklists

SQL build standards Following are the standards recommended by me after considering best practices and configurations specific to SQL Server Infrastructure Collation: This setting cannot be changed after installation easily and without disruption to service therefore it is absolutely necessary

Posted in SQL Tips

SQL Tip: Change owner on all Agent Jobs – TSQL code

Quick note. After creation of maintenance plans and agent jobs to be careful always replace owner with SA or any other more permanent account. This will reduce the chances of jobs failing due to any issues with accounts. DECLARE @name_holder VARCHAR(1000) DECLARE

Tagged with:
Posted in SQL Tips, tsql

SQL Tip: Afraid of PowerShell? Use Dbatools.io with Powershell ISE

dbatools is a free PowerShell module with over 200 SQL Server administration, best practice and migration commands included. Please note that documentation and command names may be out of date while we work furiously towards 1.0   User it with

Tagged with: , ,
Posted in powershell, SQL Server, SQL Tips

Upgrade from TFS 2010 to TFS 2017 (with SQL 2016). Fast!

Upgrade from TFS 2010 to TFS 2017 (with SQL 2016). Fast!

Old Live TFS 2010 needs to upgrade to latest TFS 2017.2. There doesn’t exist a direct for an upgrade from TFS 2010 to TFS 2017. It is too big of a gap it seems. To achieve this the 2 steps should be or the route I took was. First, upgrade to TFS 2015 and then to TFS 2017.
In this particular instance, we opted for a new server with new OS and latest SQL 2016 to make the most of it.

Tagged with: , ,
Posted in Visual Studio

SQL Tip: Identifying Column store index potential candidate tables in your databases for major query performance improvements

Column Store indexes appeared in SQL Server 2012 and by 2016 and beyond have progressed much further allowing their usage with fewer restrictions than before and this new storage mechanism for indexes and data provides significant gains for performance especially

Tagged with: ,
Posted in Column Store Indexes, SQL Server, sql server performance, Uncategorized

SQL Monitoring Solution Development – SQL Performance Dashboard Reports – Part 2 Customisation for centralised remote monitoring of SQL instances

In Part 1 of this series on SQL Server Performance Monitoring Dashboard I provided an intro. Now what we would like to do is to be able to run these reports remotely… without logging into a server or ever connecting

Tagged with: ,
Posted in Monitoring, SQL Server, SQL Server Administration, sql server performance

How to get GDPR compliant with Microsoft

When the EU’s GDPR (General Data Protection Regulation) is introduced next year, the bar for data privacy protection in the UK will be raised. For thousands of businesses GDPR highlights daunting issues of compliance. Organisations that fail to comply with

Tagged with: , ,
Posted in gdpr, security, SQL Server, SQL Server Administration, Uncategorized

SQL Tip: Memory limit too low. Instance failing to start

Quick note. SQL startup parameters set mistakenly by someone to be too low and instance is failing to start. Page/memory allocation errors in startup log of various types… Add startup parameter ‘-f’ and start the instance and change the memory

Tagged with: , ,
Posted in SQL Server, SQL Server Administration, SQL Tips, Uncategorized

SQL Server 2016 – Always Encrypted and the GDPR

Originally posted on Matthew McGiffen DBA:
The European General Data Protection Regulation (GDPR) is coming, bringing new rules about the protection of Personally Identifiable Information (PII). For those of us in Europe – or wishing to sell software products and…

Posted in Uncategorized

SQL Central Management Server – Definition, Benefits and setup

Central management servers store a list of instances of SQL Server that is organized into one or more central management server groups. Actions that are taken by using a central management server group act on all servers in the server group. This includes connecting to servers by using Object Explorer and executing Transact-SQL statements and Policy-Based Management policies on multiple servers at the same time

Tagged with: ,
Posted in SQL Server, SQL Server Administration, Uncategorized