Monthly Archives: February 2013

Creating a Sudoku Problem Solver using Microsoft Solver Foundation

Hi Today we are we are going to be creating a Sudoku Problem Solving Application using Microsoft Solver Foundation. First step will be to download the assembly, this can be downloaded through the MSDN Code Gallery. All you need is the DLL only download but you can download the full installation if you want samples and other […]


Failover or Restart Results in Reseed of Identity – FIX

Simple run the script and then every time SQL is restarted all your Identity columns will be reset to the latest available seed. This script is a fix for the issue logged here. Hope it helps others like it’s helping me.   USE master; GO CREATE PROCEDURE sp_FixSeeds2012 AS BEGIN –foreach database DECLARE @DatabaseName varchar(255) DECLARE DatabasesCursor CURSOR READ_ONLY FOR […]


Alt + Click + Drag shortcut key

Hi A couple of days ago I found a shortcut key that I don’t think is very well known that is a simple but useful shortcut key. It stops you from having to do multiple copy and pastes . Say you have code like below, public string Value1 { get; set; } public string Value2 { get; set; } public string Value3 { get; set; } public string Value4 { get; set; } Now if this were a static class and you […]