Tag: Blog

  • Automatic Index Rebuilding

    While working on a large project, I found that the queries were running slower and slower as the days went on. We were working with current and historical data and were only joining about 3-5 tables at a time. Each join was bringing back between only about 50K rows or so, and the results were…

  • Unshare Folders in Windows 7

    Unshare Folders in Windows 7

    I was formatting the several of my machines the other day and I was moving files back and forth. Sure, for MP3s or videos, I use an external USB hard drive. But there are smaller files, such as the Adobe Flash installer or Opera, which are pretty small. For those smaller files, I use a…

  • Kill all Connections to a Database in SQL Server

    Kill all Connections to a Database in SQL Server

    One of the databases I work with runs a ton of updates overnight and in the early morning. Now, from time to time I run into a problem where a user has a lock on a table. This usually stems from, as far as I can tell, an MS Access query that is left open…

  • Importing Data into SQL Server – Using Excel Shortcuts

    I’ll be the first to say, the switch from DTS to SSIS was painful. DTS would go through a lot of implicit conversions so you didn’t have to worry or think about them. But SSIS was not as merciful. From different fields lengths to different encodings, SSIS wants you to be specific. Sometimes, it is…

  • Importing Data into SQL Server – Using the Import Export Wizard

    Today begins the series on importing data into SQL Server 2005/2008 using the various built in tools. With SQL Server, there are several ways of getting your data from one place to another. Today, we will focus on using the wizard from SQL Server Management Studio. Before we begin, I am using a simple database…

  • Storing Computed Columns in SQL Server

    From time to time you will run into a case where you need to store computed columns in your SQL Server tables. Examples of computed columns include taxes on a sale or business days between several dates. Setting  up computed columns in SQL Server 2008 is fairly simple. You simply give the column a name…

  • Could not install the custom actions

    Could not install the custom actions

    Learn how to fix the error “Could not install the custom actions” message