The Country Phone Calling Code (IDD) generator creates synthetic data representing international dialing prefixes (IDD codes) used to make phone calls to specific countries. These codes, also known as country calling codes, are part of the international telephone numbering plan defined by the International Telecommunication Union (ITU). For example, +1 for the United States and Canada, +44 for the United Kingdom, and +91 for India. This generator is useful in testing, development, or data simulation where country-specific phone numbers or dialing formats are required.
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 |
|---|---|---|---|
| IDD | 32, 1, 81, 380, … | character character varying text smallint integer bigint decimal |
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[4].
