O'Reilly logo

Microsoft® SQL Server 2012 Unleashed by Alex T. Silverstein, Chris Gallelli, Paul T. Bertucci, Ray Rankins

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

New date and time Functions

SQL Server 2012 introduces some new date and time functions that provide greater functionality for building date strings from integer date part expressions. These new functions are as follows:

Image DATEFROMPARTS

Image DATETIME2FROMPARTS

Image DATETIMEFROMPARTS

Image DATETIMEOFFSETFROMPARTS

SMALLDATETIMEFROMPARTS

TIMEFROMPARTS

The following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required