Red Gate forums :: View topic - Generator can't proceed
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
SQL Data Generator 1
SQL Data Generator 1 forum

Generator can't proceed

Search in SQL Data Generator 1 forum
Post new topic   Reply to topic
Jump to:  
Author Message
paulh



Joined: 08 Oct 2005
Posts: 31

PostPosted: Thu Jan 08, 2009 3:32 pm    Post subject: Generator can't proceed Reply with quote

I have three table A, B and C with FKs A->B, A->C and B->C

Table C has a multi-column constraint across A, B and another column U.

When I try to generate 50K rows into C it stops saying that I've violated the constraint event though I have discard invalid row.

Any way of making the genenerated data unique across all the values or handling the exception?

If I change the FK generation from random to number of items I can get up to 300 rows but that's not too useful Smile
Back to top
View user's profile Send private message
Linda Hawksworth



Joined: 25 Jun 2007
Posts: 192

PostPosted: Mon Jan 12, 2009 7:02 pm    Post subject: Reply with quote

Please can you send the table creation SQL for the table in question to support@red-gate.com so that I can do some testing to see if SQL Data generator can do what you need.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic 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