diff --git a/strmangle/strmangle.go b/strmangle/strmangle.go index 316e1b0..4dc0b1b 100644 --- a/strmangle/strmangle.go +++ b/strmangle/strmangle.go @@ -85,7 +85,7 @@ func init() { // for Postgres: "schema_name"."table_name", versus // simply "table_name" for MySQL (because it does not support real schemas) func SchemaTable(lq, rq string, driver string, schema string, table string) string { - if driver == "postgres" && schema != "public" { + if (driver == "postgres" && schema != "public") || driver == "mssql" { return fmt.Sprintf(`%s%s%s.%s%s%s`, lq, schema, rq, lq, table, rq) }