Every variable, parameter, and column in a SQL Server table is defined as being of a particular datatype. The datatype determines the range of values that can be stored and the ways in which that data can be used. You are probably already familiar with many SQL Server datatypes, such as those listed in Table 3-1.
In addition to these common datatypes designed to hold numeric, character, or date and time data, SQL Server 2012 has two datatypes specifically designed to hold spatial data:
geography. These are listed in Table 3-2.
There are several similarities between the