|
|
|
Mr or Mrs. 500
      
Group: General Forum Members
Last Login: Thursday, May 02, 2013 12:25 PM
Points: 525,
Visits: 215
|
|
|
|
|
|
Ten Centuries
      
Group: General Forum Members
Last Login: Wednesday, March 27, 2013 9:02 AM
Points: 1,046,
Visits: 573
|
|
Got it right but I didn't understand the question. I actually thought that the question meant to say DATETIME but indeed it was DATE and TIME.
What you don't know won't hurt you but what you know will make you plan to know better
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Monday, March 18, 2013 7:52 PM
Points: 280,
Visits: 88
|
|
Yes, you knew Datetime. But Sql Server 2008 provides new datatypes to store -between others - or only a date or only a time. In the answer, you have a link to msdn which expose the new features of Sql Server 2008, and you have here a specialized msdn page about date and time new datatype.
My MCP Transcript (ID : 692471 Access : 109741229)
|
|
|
|
|
SSChasing Mays
      
Group: General Forum Members
Last Login: Friday, January 11, 2013 12:41 PM
Points: 621,
Visits: 297
|
|
DATE and TIME data type are really welcome addition in SQL Server 2008.
I knew this one as I always had the problem extraction only date or time part in SQL Server 2005, because only one common data type 'DATETIME' was available.
Bhavesh Patel
http://bhaveshgpatel.wordpress.com/
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Friday, December 21, 2012 5:24 AM
Points: 366,
Visits: 436
|
|
I knew these datatypes were not in SQL versions prior to 2000 and they are in 2008, but thought they might have included in 2005...i was wrong...
|
|
|
|