We should be able to use the native types on schemas with SQL Server. Please refer to the [Microsoft documentation on SQL Server types](https://docs.microsoft.com/en-us/sql/t-sql/data-types/data-types-transact-sql?view=sql-server-ver15). In general, these at least should work: ```rust pub enum MssqlType { TinyInt, SmallInt, Int, BigInt, Decimal(u8, u8), Numeric(u8, u8), Money, SmallMoney, Bit, Float(u8), Real, Date, Time, Datetime, Datetime2, DatetimeOffset, SmallDatetime, Char(DataLength), VarChar(DataLength), Text, NVarChar(DataLength), NText, Binary(DataLength), VarBinary(DataLength), Image, XML, } ``` Where `DataLength` can either be an integer, or `MAX`. Part of an epic https://github.com/prisma/prisma/issues/2430
Activity
matthewmueller commentedon Nov 20, 2020
Closed by prisma/prisma-engines#1183