Changes to support MSSQL
Merge pull request #100 from sperera/master

Changes to support MSSQL