The following T-SQL statement shows how output the day from a date.
For example, 16 March 2019 would output 16.
SELECT DateName( day, GETDATE() ) as Day_From_Date
The following T-SQL statement shows how output the day from a date.
For example, 16 March 2019 would output 16.
SELECT DateName( day, GETDATE() ) as Day_From_Date