The simplest way to populate your database with test data.
Moderators: JonathanWatts, David Atkinson, Anu Deshpande, Michelle Taylor, Lionel, Emma A, sherr
I am trying to create a demo database for employee evaluations. Each employee gets 1 evaluation per month. I want to create evaluations for every month from 2010 to 2012.
So I have two tables, employee and reviews. In psuedo-code I would do something like:
While .not Employee.EndOfFile do
For i = 2010 to 2012
For j = 1 to 12
Review.EmployeeID = Employee.ID
Review.Year = i
Review.Month = j
How would I do that with the Data Generator? TIA.
- Posts: 2
- Joined: Tue Jan 29, 2013 8:02 pm
Unfortunately it is not currently possible to generate data based on data that has been/will be generated in another table/column.
There is an existing feature request for this capability with reference number SDG-682.
Red Gate Software
- Posts: 209
- Joined: Mon Apr 23, 2012 2:49 pm
Return to SQL Data Generator 2
Who is online
Users browsing this forum: No registered users and 0 guests