Currency generator

Last modified: April 3, 2025

The Currency generator creates simulated currency data, which includes both currency codes (such as USD, EUR, JPY) and their respective values. It can generate random or specific currency data for testing, development, or data simulation purposes. This generator is usually used in financial applications where diverse currencies are involved, such as in transactions, reports, or international operations.

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
Currency Euro, US Dollar, Yen, … charactercharacter varyingtextmoney Default

Matching rules

The generator can be assigned to a column that matches any of the following rules:

  • The column name is ‘Name’, and it belongs to a table whose name is ‘Currency’.
  • The column name is ‘CurrencyName’, 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 allows you to set a path to the .csv file with the list of default country codes. The default path to the file is C:\Users\Public\Documents\Devart\dbForge Studio for PostgreSQL\Data Generators\CountryCodes.csv[5].

Preview of the column data generated by the Currency generator

Currency generator