Allow UseLastInsertID

This commit is contained in:
Sergey Kurt 2017-03-19 12:39:59 +03:00
parent 49d052af53
commit a508530f63

View file

@ -65,7 +65,7 @@ func (m *MSSQLDriver) Close() {
// UseLastInsertID returns false for mssql
func (m *MSSQLDriver) UseLastInsertID() bool {
return false
return true
}
// UseTopClause returns true to indicate MS SQL supports SQL TOP clause