I Need Countries List in T-SQL

前端 未结 5 1573
不知归路
不知归路 2021-02-13 04:28

I have a Country table which has CountryName column. I need a ready made list in DDL to populate in the column CountryName.

The table resides in SQL Server 2008.

5条回答
  •  清酒与你
    2021-02-13 05:10

    You can get the t-sql script that creates a "countries" table and populates the table with ISO list of countries inlcuding the Numerical Code of the country, the name of the country both in lower case letters and upper case letters, the ISO ALPHA-3 code and the ISO 3166-1-alpha-2 code from: http://blog.xsql.com/2012/10/t-sql-list-of-countries.html

提交回复
热议问题