mssql: refactor normaliseTypeName and getParameterDirection