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. To maintain data integrity when reading and writing data, the SqlDataReader exposes SQL Server–specific typed accessor methods that return objects of System.Data.SqlTypes
![SQL Server Data Type Mappings - ADO.NET](https://cdn-ak-scissors.b.st-hatena.com/image/square/03cace2126811e42cffeb31e206009477de69b7b/height=288;version=1;width=512/https%3A%2F%2Flearn.microsoft.com%2Fdotnet%2Fmedia%2Fdotnet-logo.png)