Answers for "get day in sql"

SQL
-1

get day in sql

SELECT DATEPART(m, GETDATE()) as theMonth  -- returns 11
SELECT DATEPART(d, GETDATE()) as theDay   -- returns 20
SELECT DATEPART(yy, GETDATE()) as theYear   -- returns 2013
Posted by: Guest on September-04-2020
0

selecting specific day in colum sql

extract(dow from payment_date)
Posted by: Guest on June-10-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language