Community

T-SQL tricks for SQL Server 2012: T-SQL formatting

(Robert Sheldon) SQL Server now includes a set of functions that lets you generate date and time values based on individual integers. The first of these is the DATEFROMPARTS function, which takes three arguments — the year, month and day — and converts them into a DATE value.

Read More - Register for Free Membership