May 22, 2022
  • Facebook
  • Twitter
  • Youtube
Expert-Only

  • Database
    • Create database with SQL Server Management Studio
    • Create SQL database with a script
    • Drop SQL Server database script
  • Tables & views
    • Table
      • Create SQL Server table
      • Create table with primary key
      • Create customer table
      • Alter SQL table
      • Truncate SQL Server table
      • Drop SQL table
      • Check if SQL table exists
    • View
      • Create SQL Server view
      • Alter SQL view
      • Drop SQL view
      • Create SQL partitioned view
  • Procedure & functions
    • Procedure
      • Create stored procedure
      • Alter stored procedure
      • Create procedure with parameters
    • Function
      • Manage SQL function
      • Create SQL function
      • Call SQL function
      • Alter SQL function
      • Delete SQL function
  • Indexes & partitions
    • Index
      • Clustered SQL index definition
      • Create SQL index
      • Rebuild SQL index
      • Reorganize SQL index
      • Disable SQL index
      • Drop SQL index
      • List all SQL indexes
    • Partition
      • SQL Server partition definition
      • Create SQL table partition
  • MS Office tips
    • Excel tips
      • Best cell selection shortcuts for Excel
      • Display the day in all letters with Excel
      • Excel shortcut to select an entire column
      • Disable the direct edit option in Excel
      • Turn off Excel Scroll Lock option
    • Word tips
      • Create an automatic table of contents with Word
      • Delete a horizontal line in Microsoft Word
      • Insert a comment in Word margin
  • IT concepts
    • Dimension table definition in Business Intelligence
    • DSS or Decision Support System definition
    • EPM or Enterprise Performance Management definition
    • OLTP and Transactional Databases definition
  • MS-DOS commands
  • Useful SQL
    • Insert into from a select query
    • SQL Server insert or update query example
  • Time and dates
    • Display full month name in SQL Server?
    • Time difference in hours minutes
  • Strings
    • Split text after character with SQL Server Substring
    • Remove SQL line break from text
    • Split long SQL Server text in lines
  • SQL Server
    • SQL Server Abbreviations
    • SQL Server Downloads
    • SQL Server Errors
  • DAX functions
HomeSQL ServerSQL Server Time and Dates

SQL Server Time and Dates

The time and dates section is about the date and timestamp management in SQL Server.

The dates and widely used in database projects and very useful to track events like insertion and update of data in tables.

For example how to display month and days with specific formats. Or the difference between two dates or timestamps.

SQL Server Time and Dates

Display full month name from a date

June 16, 2017

How to display full month name from a date in SQL Server? Which is to say with the complete month names like January, February, March, April, May, etc. written out in full. This query …

SQL Server Time and Dates

SQL Server time difference in hours minutes and seconds

May 30, 2017

How to calculate the time difference in hours minutes or seconds in SQL Server? The SQL Server function DATEDIFF() allows us to calculate the difference between two timestamps, but only in one unit. …

Follow Us

Facebook
Facebook
fb-share-icon
Twitter
Visit Us
Follow Me
Tweet
WhatsApp

POPULAR POSTS

  • Calculate last month value in DAX with Power BI
    September 3, 2020
  • Time economy is key when you create a SQL Server partition.
    Create a SQL Server table partition
    August 26, 2020
  • SQL Server Violation of unique key constraint
    May 31, 2017
  • Delete Windows files recursively in cmd
    January 27, 2022

LATEST POSTS

  • Delete Windows files recursively in cmd
    January 27, 2022
  • Delete a file in Windows cmd
    January 26, 2022
  • Ralph Kimball’s bottom-up business intelligence modelling
    January 25, 2022
  • Download and install the OLEDB driver for Excel 2010
    January 24, 2022

2017 - 2022 | Expert-Only.net | Learn Microsoft IT by example © All rights reserved.