Add support for SQL Server

Add functionality to allow this module to be used with MS SQL Server