Dynamically load delimited files to a table

There are various methods to load delimited files to a database. Some might opt to use SQL Server Integration Services (SSIS), others the BCP command line application, or write a .NET application which used the SqlBulkCopy Class, while some might choose one of the many non-Microsoft products available on the... [Read More]

Persist Index Usage Statistics

During a database/application performance investigation we wanted to check which indexes were being used. The database had almost 1,200 indexes (!!) most of which we believed were redundant or partly causing a performance overhead. A quick review of the indexes showed that most were created on one column and only... [Read More]

Login failed: Token-based server access validation failed with an infrastructure error

This week we implemented a database onto a production environment.  The implementation had been tested a number of times to prepare and verify the final set of scripts.  On D-Day we started the implementation according to the previously tested steps and I’m proud to say that all went fine.  We... [Read More]