diff --git a/bdb/drivers/mssql.go b/bdb/drivers/mssql.go index 254f68d..ec3dc4b 100644 --- a/bdb/drivers/mssql.go +++ b/bdb/drivers/mssql.go @@ -313,6 +313,8 @@ func (m *MSSQLDriver) TranslateColumnType(c bdb.Column) bdb.Column { c.Type = "null.Bytes" case "timestamp", "rowversion": c.Type = "null.Bytes" + case "uniqueidentifier", "xml": + c.Type = "null.String" default: c.Type = "null.String" } @@ -340,6 +342,8 @@ func (m *MSSQLDriver) TranslateColumnType(c bdb.Column) bdb.Column { c.Type = "[]byte" case "timestamp", "rowversion": c.Type = "[]byte" + case "uniqueidentifier", "xml": + c.Type = "null.String" default: c.Type = "string" }