it might not be the fastest option to train a neural network but it seems to be a quite elegant approach to use T-SQL to implement the backpropagation algorithm. In order to learn and better understand the algorithm I decided to port the C# neural network example from Dr. James McCaffrey(MSR) to Sql Server.