SQL Audit
There are a number of ways to audit data in SQL Server, but none of them seem to do exactly what I needed, so I rolled my own.…
Code snippets etc
There are a number of ways to audit data in SQL Server, but none of them seem to do exactly what I needed, so I rolled my own.…
When rolling up data using Group By one of the things that has been missing in TSQL is the ability to concatenate. You can SUM, MAX, MIN etc...but no concatenation. There are various methods that…
How to create an msi installer package using VS 2013…
Sometimes it is necessary to ensure that a stored procedure that you are about to execute is not already running. This might be necessary if, for example, your stored procedure is writing to a physical table.…
Re-point your custom domain to a second azure web app…
Which service is the best?…
If you are trying to determine how long the various statements in a stored procedure are taking, then you really need to see output in real time (i.e. not wait till the end).…
Recursion does my head in if I haven’t used it for a while. The following SQL is a typical employee/manager scenario, but I have used meaningful names to try and make it clear what is going on.……