| Author |
Message |
dcolbert
Joined: 09 Feb 2007 Posts: 9 Location: Oak Brook, IL
|
Posted: Fri Mar 11, 2011 9:51 pm Post subject: Complicated data generation question |
|
|
Is it possible to generate four INT columns of data, where:
| Code: |
| Column2 + Column3 + Column4 <= Column1 |
We receive data from an outside source with those fields populated, but the final three added together should always equal the first. We'd like to generate data to test our logic that ensures those fields meet data quality requirements.
Thanks in advance!
Dan |
|
| Back to top |
|
 |
peter.peartSite Admin
Joined: 02 Sep 2008 Posts: 362 Location: Top floor, RG towers with the cool kids
|
Posted: Mon Mar 14, 2011 8:36 pm Post subject: |
|
|
Hi there,
Thanks for your post.
Unfortunately, SQL Data Generator doesn't support this sort of parent > child relationhip between columns when generating data. It is something we have logged as a feature request but I am sorry to say I am not sure if we have a date on it being implemented. It will definitely be reviewed for the next release though.
In the meantime, ?I don't know if it's a vible solution for you however you could always select to generate data from an existing source for that table (those affected tables) only, pull in the real data for those particular columns only and then change the generator to one of the random generators for the rest of the columns.
HTH!
Pete _________________ Peter Peart
Red Gate Software Ltd
+44 (0)870 160 0037 ext. 8569
1 866 RED GATE ext. 8569 |
|
| Back to top |
|
 |
dcolbert
Joined: 09 Feb 2007 Posts: 9 Location: Oak Brook, IL
|
Posted: Fri Mar 18, 2011 2:40 pm Post subject: |
|
|
| Thanks for the reply. Your suggestion will help, but I would definitely love it as a new feature! |
|
| Back to top |
|
 |
|
|
All times are GMT + 1 Hour
|
| Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group