About 129,000 results
Open links in new tab
  1. Convert Month Number to Month Name Function in SQL

    Oct 9, 2008 · This is a good piece of information, but fails to actually answer the question of how to convert a month number to a month name (Rather answers how to get a month name from a date). …

  2. sql server - Format date as Month dd, yyyy? - Stack Overflow

    Jun 27, 2013 · In SQL Server, I'd like to select a date from a DateTime column in Month dd, yyyy format. I currently am using the following code: SELECT CONVERT(VARCHAR(12), DateColumnHere, 107) …

  3. sql server Get the FULL month name from a date - Stack Overflow

    Apr 1, 2009 · How do I use sql to get the whole month name in sql server? I did't find a way using DATEPART(mm, mydate) or CONVERT(VARCHAR(12), CreatedFor, 107). Basically I need in the …

  4. Getting only Month and Year from SQL DATE - Stack Overflow

    Nov 23, 2009 · I need to access only Month.Year from Date field in SQL Server.

  5. sql - Get 2 Digit Number For The Month - Stack Overflow

    Feb 20, 2013 · I have an integer column "Month" I would like to get 2 digit number for month. This is what I have tried: DATEPART(mm, @Date) It returns one digit for months January to September I …

  6. How to get 3 letter abbreviation for month in SQL

    Jan 7, 2016 · How to get month in 3 letters in SQL. In SQL Table data is inserted: 2016-01-07 09:38:58.310 I need only month result in 3 letters like below: Jan

  7. SQL change format of Datepart Month - Stack Overflow

    Jul 25, 2008 · How do you change the DATEPART format of the month to include the 0 in front of the month? For instance 5 should be 05. What I have tried, but none of it works, (only gives me 5) …

  8. sql - How to extract year and month from date in PostgreSQL without ...

    date_trunc('month', timestamp_column)::date It will maintain the date format with all months starting at day one. Example:

  9. sql server - Display monthname in other language - Stack Overflow

    Sep 17, 2015 · In my view, I want to display the MonthName in German. How can I change the monthname from English to German. DATENAME(month, getdate()) AS 'MonthName'

  10. How do I get the month and day with leading 0's in SQL? (e.g. 9 => 09)

    Dec 10, 2012 · SELECT RIGHT(REPLICATE('0', 2) + CAST(DATEPART(DAY, '2012-12-09') AS varchar(2)), 2) AS leftpadded_day Go native The CONVERT function offers various methods for …