coopernurse/gorp — pull request #166 by qrawl (2014-05-15 09:08:33+00:00)
Title: add support for SQL Server

Added Microsoft SQL Server support.
Implementation tested on SQL Server 2008 only.

* Auto increment
Since mssql won't accept autoincrement null values in the insert statement, I added an `if` clause to `bindInsert` to ignore autoincrement columns if `AutoIncrBindValue()` is an empty string.

* Truncate
I used "delete from" without `where` clause, as `truncate` itself has only been introduced in SQL Server 2012.