Monday, 16 July 2018

Get Name of the month in sql query

//////////////

select left(DateName( month , DateAdd( month , month(Getdate()) , -1 )),3)

//////////// Jul

No comments:

Post a Comment

How to highlight selected text in notepad++

  –> To highlight a block of code in Notepad++, please do the following steps step-1  :- Select the required text. step-2  :- Right click...