Fixes #1312: fixed types map for MSSQL