SQL Server 2012 Data Types

 

In SQL Server 2012, each column, local variable, expression, and parameter has a related data type. A data type is an attribute that stipulates the type of data that the object mayembrace: integer data, characters data, money data, date and time data, binary strings, and so on. SQL Server 2012 offers a set of data types that express all the types of data that may be used inSQL Server 2012. You may also express your own datatypes in TransactSQL or the .NET-Framework. User-defined types obtain their structures from the methods and operators of a class that you create by using one of the programming languages support by the .NET-Framework. When there are two expressions that have different kind of data types, collations, precision, scale, the appearances of result are determined by the: