About 50,200 results
Open links in new tab
  1. convert month name to month number - SQLServerCentral Forums

    May 6, 2010 · And I'm not just talking about the month name. For example, if your trying to convert a string to an SQL Datetime and the date looks like '1 June 2010', there you don't need to find the …

  2. Month name and year in sql - SQLServerCentral Forums

    May 12, 2015 · Month name and year in sql Forum – Learn more on SQLServerCentral

  3. Formatting Dates with 3 Character Months (SQL Spackle)

    Dec 7, 2010 · SUBSTRING(DATENAME(mm,GETDATE()),1,3) ; We get the following correct 3 character representations for the day of the week and the month name: --- --- Tue Jan Putting It All …

  4. Get list of months, monthname and Year - SQLServerCentral

    Jan 1, 2011 · Hi, I want to create a temp table and insert all the list of monthorder , Monthnames , year 1 january 2011 2 february 2011 . . . 12 December 2011 Thanks, Komal

  5. Sorting Months By Number (SQL Spackle) - SQLServerCentral

    Dec 15, 2010 · Fill in another bit of your T-SQL knowledge by learning how to sort a result set by the proper month order, but use the month name instead.

  6. Get Month Name - SQLServerCentral Forums

    Feb 11, 2015 · Similarly if you want to list all the month names for a year using a T-SQL statement, you can do this: SELECT Number + 1 as [MonthNumber], DateName (mm,DATEADD (mm,Number,0)) …

  7. How to get all the months between 2 dates - SQLServerCentral

    Jan 10, 2009 · Hi i m having a requirement where i need to include all the months between two date for ex: select DATEDIFF (mm,'10/1/2009','1/1/2010') gives us 3 because its taking the diff of 2 dates i …

  8. Order by Month properly not alphabetical - SQLServerCentral

    Jul 26, 2010 · To get the name of the month one part of my query says datename (month, date) as month then I'm trying to order it like ORDER BY month but the result ends up ordering the month in …

  9. get week number of month – SQLServerCentral Forums

    Mar 1, 2023 · Required Definiton of Week Number from the Req: I would define first week as any days of the month that land on the first week of the month.

  10. Display month in 3 letter abbreviation - SQLServerCentral

    Jul 26, 2004 · So what I am trying to achieve is to get the end date to be in the same format as the start date (using the 3 letter abbreviation for the month rather than just the number).