Answers for "how to create datepart function in sql server"

SQL
1

get hour from date sql

SELECT DATEPART(HOUR, GETDATE());
Posted by: Guest on July-20-2020
1

datepart day of week

SELECT DATENAME(DW,'2007-10-30');
Posted by: Guest on July-20-2020

Code answers related to "how to create datepart function in sql server"

Code answers related to "SQL"

Browse Popular Code Answers by Language