Determine ‘working’ days between two dates using T-SQL
There are numerous post on forums and blogs that aim to address the problem of determining the number of working days between two dates in SQL Server. Unfortunately, not all of them work. I managed to...
View ArticleSQL Server and Unit Testing
I have really been getting into automated unit-testing and Test Driven Development (TDD) over the last year. Like many developers I work with database tables that have a surrogate primary key. In the...
View ArticleDetermine SQL Server Version and Edition
To determine what SQL Server version and edition that you are running execute the following Sql: SELECT @@VERSION This will return a message similar to the following supplying all the details that you...
View ArticleAdding a Page Break after a Subreport in Reporting Services
To add a page break after a subreport in reporting services: Add a rectangle onto your report and position it just below the correct Resize the rectangle so it is only a couple of pixels tall Set the...
View Article