Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2007-08-01 : 00:21:21
|
Microsoft squeeeeezed in the July CTP for SQL Server 2008 with barely a few hours to spare. It includes some interesting new functionality. It looks like separate date and time data types are finally included as well as support for a time zone aware datetime data type. There are also improvements in Reporting Services, Analysis Services, improved dependency handling in T-SQL, improved XML support, large user-defined types and various other enhancements. Microsoft also posted a neat chart summarizing the improvementsRead SQL Server 2008 July CTP Available |
|
Kristen
Test
22859 Posts |
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-01 : 02:52:02
|
If it worksWOW !! E 12°55'05.25"N 56°04'39.16" |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-01 : 03:48:05
|
Michael, maybe you have to rewrite your F_TABLE_DATE quote: DATE/TIME Data TypesSQL Server 2008 introduces new date and time data types. The new data types enable applications to have separate date and time types, larger year ranges for date value, larger fractional seconds precision for time value, time-zone offset aware datetime type that containing date, time and time zone offset portion, user defined option on fractional seconds precision of time related types and datetime2 and datetimeoffset provide standards conformant semantics. Along with the T-SQL support on the new types, both native (ODBC, OLEDB) and managed (SqlClient) providers also provide the full support through the client driver APIs.
E 12°55'05.25"N 56°04'39.16" |
|
|
karuna
Aged Yak Warrior
582 Posts |
Posted - 2007-08-01 : 11:48:56
|
quote: Originally posted by PesoSQL Server 2008 introduces new date and time data types. The new data types enable applications to have separate date and time types, larger year ranges for date value, larger fractional seconds precision for time value, time-zone offset aware datetime type that containing date, time and time zone offset portion, user defined option on fractional seconds precision of time related types and datetime2 and datetimeoffset provide standards conformant semantics. Along with the T-SQL support on the new types, both native (ODBC, OLEDB) and managed (SqlClient) providers also provide the full support through the client driver APIs.
Does this mean that 2008 is capable of handling TimeZones by itself ?ThanksKarunakaran |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-01 : 12:26:00
|
We will see. Have download it now and will install later this evening. E 12°55'05.25"N 56°04'39.16" |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-01 : 19:53:52
|
quote: Key Properties of hierarchyidA value of the hierarchyid data type represents a position in a tree hierarchy. Values for hierarchyid have the following properties:Extremely compactThe average number of bits that are required to represent a node in a tree with n nodes depends on the average fanout (the average number of children of a node). For small fanouts, (0-7) the size is about 6*logAn bits, where A is the average fanout. A node in an organizational hierarchy of 100,000 people with an average fanout of 6 levels takes about 38 bits. This is rounded up to 40 bits, or 5 bytes, for storage.Comparison is in depth-first orderGiven two hierarchyid values a and b, a<b means a comes before b in a depth-first traversal of the tree. Indexes on hierarchyid data types are in depth-first order, and nodes close to each other in a depth-first traversal are stored near each other. For example, the children of a record are stored adjacent to that record. For more information, see Using hierarchyid Data Types (Database Engine).Support for arbitrary insertions and deletionsBy using the GetDescendant method, it is always possible to generate a sibling to the right of any given node, to the left of any given node, or between any two siblings. The comparison property is maintained when an arbitrary number of nodes is inserted or deleted from the hierarchy. Most insertions and deletions preserve the compactness property. However, insertions between two nodes will produce hierarchyid values with a slightly less compact representation.
E 12°55'05.25"N 56°04'39.16" |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-01 : 20:03:51
|
quote: Originally posted by karuna Does this mean that 2008 is capable of handling TimeZones by itself ?
quote: Books Online Note: Use the time, date, datetime2 and datetimeoffset data types for new work. These types align with the SQL Standard. They are more portable. time, datetime2 and datetimeoffset provide more seconds precision. datetimeoffset provides time zone support for globally deployed applications.
E 12°55'05.25"N 56°04'39.16" |
|
|
SwePeso
Patron Saint of Lost Yaks
30421 Posts |
Posted - 2007-08-01 : 20:27:13
|
Have used July CTP for two hours now.I am positive to the changes. Have to learn more about HierarchyID datatype! E 12°55'05.25"N 56°04'39.16" |
|
|
Kristen
Test
22859 Posts |
Posted - 2007-08-02 : 03:59:21
|
XRef:Further discussion of the new date time formats here:http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=85099 |
|
|
Marioi
Posting Yak Master
132 Posts |
|
X002548
Not Just a Number
15586 Posts |
|
|