SQL Server 2008: The New Data Types

Following are the new data types which are added in SQL SERVER 2008 :

  • Date and Time: Four new date and time data types have been added.
ΓΌ  DATE
ΓΌ  TIME
ΓΌ  DATETIME2
ΓΌ  DATETIMEOFFSET
  • Spatial: Two new spatial data types have been added
ΓΌ  GEOMETRY
ΓΌ  GEOGRAPH

These are use to natively store and manipulate location-based information, such as Global Positioning System (GPS) data.
  • HIERARCHYID: The HIERARCHYID data type is used to enable database applications to model hierarchical tree structures, such as the organization chart of a business.

  • FILESTREAM: FILESTREAM is not a data type as such, but is a variation of the VARBINARY (MAX) data type that allows unstructured data to be stored in the file system instead of inside the SQL Server database.
I will explain each in detail with example in next series of postings.
SQL Server 2008: The New Data Types SQL Server 2008: The New Data Types Reviewed by kamal kumar das on February 17, 2012 Rating: 5

No comments:

ads 728x90 B
Powered by Blogger.