Step 3 - Specifying generation parameters
At this step you can select fields for generating data and set various data generation parameters.
Selected tables are displayed in the Generate Data for tree at the top-left side of the window. Table fields and their types are listed in the grid of the Field List area below.
Set the number of data records to be generated for each table.
Set this flag for a table to empty the table before data generation.
Click the Data preview button to browse the selected table data in the preview mode.
When you select a table in the Generate Data for tree, you can set data generation parameters for each of its fields within the Generation Properties area at the right side of the window. Use the and the buttons to manage fields within the Field List area. For each field you can set the following:
Set NULL value in ... % of cases
Check this option and specify the percentage of NULL values for the field, if necessary.
Other generation parameters vary according to the data type of the selected field:
- FLOAT field parameters
- INTEGER field parameters
- DATE field parameters
- TIME field parameters
- STRING field parameters
- BLOB field parameters
- ARRAY field parameters
- GEOMETRIC field parameters
- BOOLEAN field parameters
- BIT field parameters
- INTERVAL field parameters
If a field is part of a foreign key, you can select one of the following options for this field:
Generate data from the dependent field
Values for the field will be taken from the corresponding field(s) of the foreign table(s)
Generate data from the dependent field as 1:n ()
If this option is selected you should also specify the n value using the spin-edit box below. Data will be generated into the field related as 1:n, i.e. n records will be generated into the foreign table for each record of the primary table.
When you are done, press the Next button to proceed to the next step of the Wizard.