diff --git a/lib/typing/decimal/details.go b/lib/typing/decimal/details.go index 1c05e3537..dd5018b9b 100644 --- a/lib/typing/decimal/details.go +++ b/lib/typing/decimal/details.go @@ -61,7 +61,7 @@ func (d Details) DatabricksKind() string { // MsSQLKind - Has the same limitation as Redshift // Spec: https://learn.microsoft.com/en-us/sql/t-sql/data-types/decimal-and-numeric-transact-sql?view=sql-server-ver16#arguments func (d Details) MsSQLKind() string { - return d.toKind(MaxPrecisionBeforeString, "TEXT") + return d.toKind(MaxPrecisionBeforeString, "VARCHAR(MAX)") } // RedshiftKind - is used to determine whether a NUMERIC data type should be a TEXT or NUMERIC(p, s).