.NET C# to SQL Server Data Types Mapping table

SQL Server and the .NET Framework are based on different type systems. For example, the .NET Framework Decimal structure has a maximum scale of 28, whereas the SQL Server decimal and numeric data types have a maximum scale of 38.

Source: SQL Server Data Type Mappings

Leave a Reply

Your email address will not be published. Required fields are marked *