Usful SQL String Function (coalesce)
I found this function a couple of weeks ago and found it very usful. I had to add a filed to a report, that contained a list of other fileds from the report, each seperated by a comma. At first i...
View ArticleMail Profile in SQL Server
Tried to setup SQL 2000 today so it would email me when certain events occurred, I have done it before but it took me a bit to work out why it wouldn’t work this time. Couple of things I had to do: I...
View ArticleGetting SQL Report Server usage
A couple of days ago some of our users were complaining about the speed at witch the reports were running. I suspected that they were running some huge reports to get some year end data, but of course...
View ArticleMonitoring SQL Server using SQL Server Health and History Tool (SQLH2)
A couple of weeks ago my boss came across this tool called SQLH2. Its purpose is to monitor Microsoft SQL server, by collecting data about how the machine is performing and optionally what the SQL...
View ArticleMemory Managment in SQL Server
For quite a while, we have had a problem with our main instance of SQL server not using all the memory available to it on the server. We have finally found out what the problem was thanks to this...
View ArticleIntegration Heartache
Not really been learning to much new over the last couple of weeks. We have been moving the Isle of Mans system ‘mainland’ and integrating them into ours. Found a useful feature of the SQL 2005...
View ArticlePassing Optional Parameters To Stored Procedure
Found quite a cool thing recently, that means you can have optional parameters in a SQL stored procedure. This means you can pass the options into the procedure if you have some, or if none are passed...
View Article