DatePart, DateAdd and DateDiff functions in SQL Server Part 27

preview_player
Показать описание
In this video we will learn about builtin date time system functions in sql server. DatePart, DateAdd and DateDiff functions in SQL Server will be discussed along with a real time example of using these functions.

Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.

Slides

All SQL Server Text Articles

All SQL Server Slides

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic
Рекомендации по теме
Комментарии
Автор

I felt the need to comment because you really helped me with your tutorials!
Thank you, Venkat, for all the effort you make to present programming in such an easy way, no matter how noob somebody may be.
You are the best teacher I could find on youtube. Keep up the good work! Hope it pays back...

eniaonthestreets
Автор

Thank you very much for taking time to give feedback. I upload training videos on a daily basis. If you want receive email alerts when new videos are uploaded, please feel free to subscribe to my youtube channel.

Csharp-video-tutorialsBlogspot
Автор

Kudvenkat, you're one of the best teachers I've ever known. Simple, step by step explanation of topics. Easy to understand.
Thanks.

adenikeakinroluyo
Автор

Sir, you simply deserve heaven. Outstanding tutorial.

bhagawatbhandari
Автор

This may be little silly, but I love the calmness in your videos. Please don't change this . Extremely thankful for sharing your knowledge with us.

onlineaccount-whyx
Автор

Your videos are so easy to understand that I completed all your videos in this playlist in 3 days by playing it at X1.5 speed.

I only had 5 days before my job starts and i had no idea of SQL Server.
Now, I am really confident to attend my job.
Thank You Venkat from my bottom of my heart ❤️

johnceena
Автор

You are a gem. Explains Tricky concepts with such ease. Thanks for this complete video tutorial series.

rajatshrivastava
Автор

what's wrong with teh people that downvoted this video? not only this video, but the entire series is simply awesome

dzlee
Автор

sir ur best teacher at this earth, salute u

aksingh
Автор

Years gone... But this video; in the first few minutes, I was able to spot what I was missing. Thank you. Really happy. #2020

bestherk
Автор

If you have problems understanding the DATEDIFF, keep in mind these four things:
1) It returns as integer.
2) It counts how many times you have to cross a line (from one year to another etc.)
3) It doesn't care about greater accuracy than you pass in as the first parameter. Year 2017 is year 2017, no matter whether it is January first or December 31st. So between 1.1.2017 and 31.12.2017 you are in the same year, datediff in years is zero, because you are essentially passing as parameters XX.XX.2017 and XX.XX.2017. And from 31.12.2016 to 1.1.2018 you have to cross two lines (to 2017 and then to 2018), the datediff returns two.
4) The +/- mark just tells whether you are going forward or backwards in time.

At least for me it took a while to understand the function, but with these four points, I think it should become pretty simple.

artokilponen
Автор

much love from Florida thank you for your wonderful videos!

ricardoflores
Автор

I am following all your video and I love them, thank you

maryam
Автор

you are beauty, sir. Your way of teaching is amazing and very easy to understand.

mrafaqatpk
Автор

Hi venkat.
You are great teacher.
I learnt from your tutorials alot.
I have your all tutorials. C sharp sql asp mvc entity framework javascript bootstrap and much more.
I love you so much.

MeMe-qxpv
Автор

Excellent. Probably the best tutorial. Thank you very much sir..

sriharsha
Автор

Thank you very much, it was an excellent tutorial! Even the more difficult part was digested :-) I do not believe in copy-paste learning, I do not believe, that you can learn well, if you just copy the part that is too complicated for you. If you write it by yourself, you learn more.

Trzbne
Автор

Vankat thank you despite the fact you wrote this 5 years ago and I'm a bit late you deserve congratulations and thanks for this lesson and this series, Raph.

raphaelbernard
Автор

Simply exceptional...I am speechless...thank you for this "SQL version of C# coffee machine" :D

splashQo
Автор

Thank u very very much Venkat. Its a really great work u have done!

krishnaakella