Country Phone Calling Code (IDD) generator
Last modified: April 3, 2025
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.
Generator properties
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, … | charactercharacter varyingtextsmallintintegerbigintdecimal | Default |
Matching rules
The generator can be assigned to a column that matches any of the following rules:
- The column name is ‘IDD’, regardless of the table name.
- The column name contains ‘Phone’, preceded or followed by any or no characters, and ends with ‘Code’, regardless of the table name.
Configure additional options
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].
Preview of the column data generated by the Country Phone Calling Code (IDD) generator
Want to find out more?
Overview
Take a quick tour to learn all about the key benefits delivered by dbForge Studio for PostgreSQL.
All features
Get acquainted with the rich features and capabilities of the tool in less than 5 minutes.
Request a demo
If you consider employing this tool for your business, request a demo to see it in action.