3
How can I print the current month and year on the screen in sql ? I need the month to be extended. I’m using the query below.
select GETDATE() from DUAL
Currently it is being printed as follows.
2018-08-21 10:34:03.253
I need it printed in the form below:
August - 2018
What I found on GETDATE() was this link: http://www.sqlympho.net/sqlserver/sql_server_SELECT-Formatting_Date_Time.php
– White