Dates and Times in SQL Server: DATEPART()

In my previous posts in this series, we've seen reference to Transact-SQL (T-SQL) functions that are used to get the specific part of a date and/or time (year, month, day, hour, minute, second, etc.). This week we'll go through one of them and see how it works.

Introducing,DATEPART , a built-in function that takes two parameters: the date part we want back and the input date. Per the documentation, the input date parameter must be in a format "that can be resolved to a time, date,...

What feeling does this article give you?

#hashtags to follow:

Transact [+]    SQL [+]    Introducing [+]    DATEPART [+]   

More #news: