TO_CHARDATEPART functionT-SQL Datetime functionsConversion of the date to a stringTypical query problems