SQL Server Queries Part 9 - Date Calculations

Published: 21 June 2012
on channel: WiseOwlTutorials
97,220
522

If you'd like to help fund Wise Owl's conversion of tea and biscuits into quality training videos you can click this link https://www.wiseowl.co.uk/donate?t=1 to make a donation. Thanks for watching!

By Andrew Gould

https://www.wiseowl.co.uk - Learn how to perform calculations with dates in Microsoft SQL Server queries. This video teaches you how to create calculated columns in a query involving dates, including how to format dates using the CONVERT function, how to use the DATENAME function to create your own custom date formats, and how to work out the amount of time that has passed between two dates. The final part of the video teaches you how to calculate age in years accurately in SQL Server.

You can see a written explanation of how dates work in SQL here:
https://www.wiseowl.co.uk/blog/s216/d...

You can download the script to create the Movies database used in this video at the following link:
https://www.wiseowl.co.uk/files/execi...

You can see the range of resources and courses we offer in SQL Server here:
https://www.wiseowl.co.uk/sql/

Visit www.wiseowl.co.uk for more online training resources in Microsoft Excel, Microsoft Access, Microsoft PowerPoint, Microsoft Word, Microsoft Project, Microsoft Publisher, Microsoft Visio, SQL Server, Reporting Services, Analysis Services, Visual Studio, ASP.NET, VB.NET, C# and more!


Watch video SQL Server Queries Part 9 - Date Calculations online without registration, duration hours minute second in high quality. This video was added by user WiseOwlTutorials 21 June 2012, don't forget to share it with your friends and acquaintances, it has been viewed on our site 97,220 once and liked it 522 people.