The Country Code (ISO 3166-1 alpha-3) generator creates synthetic data representing three-letter country codes, as defined by the ISO 3166-1 standard. These codes consist of three alphabetic characters, such as USA for the United States, CAN for Canada, or GBR for the United Kingdom. It is used for testing, development, or data simulation in scenarios where country identification is needed, such as in global shipping systems, international transactions, or geographic analysis.
The table provides key details about the generator, including the short name, sample of the generated data, the supported data types, and whether it is specific to a particular country.
Short name | Example of generated data | Data type matching | Country-specific |
---|---|---|---|
Country Code 3 | BEL, USA, JPN, … | character character varying text |
Default |
The generator can be assigned to a column that matches any of the following rules:
The generator produces data based on a regular expression. Since it is built on the RegExp generator, see Regular Expression generator to customize settings and understand the correct usage of syntax.
The Text box displays a .csv file that contains a list of country codes. The default path to the file is C:\Users\Public\Documents\Devart\dbForge Studio for PostgreSQL\Data Generators\CountryCodes.csv
.