Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8872787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:18:18+00:00 2026-06-14T18:18:18+00:00

Is there a build-in function in SQL Server which return my polish (or any

  • 0

Is there a build-in function in SQL Server which return my polish (or any other language) name of month by month number? Or need I write my own function?

For example

GetMonthName(11) => Listopad (November)
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:18:19+00:00Added an answer on June 14, 2026 at 6:18 pm

    You can use the function Month or datepart “month” to return a month number from date/time. Then you can use the DATENAME function:

    SELECT DATENAME(month, GETDATE()) AS 'Month Name'
    

    The return value depends on the language environment set by using SET LANGUAGE and by the “configure the default language” server configuration option for the login.

    So as per Jacek’s comment, this can be summarised as:

    SET LANGUAGE Polish SELECT DATENAME(month, GETDATE()) AS 'Month Name'
    

    If literally all you have is a month number, you would need to build a datetime variable that incorporates this month number so that you can apply the above approach. In SQL Server 2012, you can use DATETIMEFROMPARTS:

    SELECT @RandomDate = DATETIMEFROMPARTS(2012, @MonthNumber, 1, 1, 1, 1, 0) 
    SET LANGUAGE Polish SELECT DATENAME(month, @RandomDate) AS 'Month Name'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a way to do so including creating an other build-markup function ?
Is there any built-in function in Python3/Numpy which filters an array and returns indices
In SQL Statement in microsoft sql server, there is a built-in function to get
Is there a function in SQL Server to normalize a unicode string? e.g. UPDATE
Is there an easy way to chase down table/stored procedure/function dependencies in SQL Server
Is there anyway I can build a Select statement that uses the Contains function?
If there is any built-in function for getting random letters like RANDOM(low,high) we used
I need to convert a SQL Server DATETIME value to FILETIME in a T-SQL
I ran into a problem with SQL Server Integration Services 2012's new string function
Is there any built-it stored procedure / any database program by which I can

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.