SDU Tools: Languages in SQL Server T-SQL

Our free SDU Tools for developers and DBAs, now includes a very large number of tools, with procedures, functions, and views. Applications often need to display a list of languages for users to choose from. To make that easy, we have now included a view called Languages.
The Languages view returns details of all the world’s languages, based on ISO 639-1. For each language, the view returns:
- FamilyName
- LanguageName
- NativeLanguageName
- ISO2CharacterCode
- ISO3CharacterCode
The FamilyName indicates the group of languages that the language belongs to. The LanguageName is what we call it in English. The NativeLanguageName is what locals call the language. And then there are the 2 and 3 character codes from the ISO standard.
Find out more
You can see these in action in the main image above, and in the video here. The full current version of the code is also shown below:
https://youtu.be/itf_2Zlfuos
You can use our tools as a set or as a great example of how to write functions like these.
Access to SDU Tools is one of the benefits of being an SDU Insider, along with access to our other free tools and eBooks. Please just visit here for more info:
http://sdutools.sqldownunder.com
Latest version of the code
The code for this view is very long. For a copy of the code, script out the view from within a database that has SDU Tools installed.
2025-02-08