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 ...

Get Microsoft® SQL Server 2012 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.