| 1. |
Which Are New Data Types Introduced In Sql Server 2008? |
|
Answer» The GEOMETRY Type: The GEOMETRY data type is a system .NET common language RUNTIME (CLR) data type in SQL Server. This type represents data in a two‐dimensional Euclidean coordinate system. The GEOGRAPHY Type: The GEOGRAPHY datatype’s functions are the same as with GEOMETRY. The difference between the two is that when you specify GEOGRAPHY, you are usually specifying POINTS in terms of latitude and longitude. New Date and Time DATATYPES: SQL Server 2008 introduces four new datatypes related to date and time: DATE, TIME, DATETIMEOFFSET, and DATETIME2.
DATETIME2 not only includes the larger date range, but also has a timestamp and the same fractional precision that TIME type provides. The GEOMETRY Type: The GEOMETRY data type is a system .NET common language runtime (CLR) data type in SQL Server. This type represents data in a two‐dimensional Euclidean coordinate system. The GEOGRAPHY Type: The GEOGRAPHY datatype’s functions are the same as with GEOMETRY. The difference between the two is that when you specify GEOGRAPHY, you are usually specifying points in terms of latitude and longitude. New Date and Time Datatypes: SQL Server 2008 introduces four new datatypes related to date and time: DATE, TIME, DATETIMEOFFSET, and DATETIME2. DATETIME2 not only includes the larger date range, but also has a timestamp and the same fractional precision that TIME type provides. |
|