Refreshing of Constraints

The simplest way to populate your database with test data.

Refreshing of Constraints

Postby acheton » Tue Sep 13, 2011 11:30 am

Hi all,

I am a new users trialling SQL Generator, I have come across an issue which I cannot find my way around. I have a new Project created which imports some data into a database. SQL Generator seems to honor all of the constraints when generating the schema for the first time. However when I add a new constraint to a column in the database and refresh the Schema or close and reopen the Project the new constraint is not honored with the test data. I have tried all sorts of things but nothing I do seems to make it update the test data based on the new constraint - thsu when I rerun the generation it fails.

Any suggestions or advice?


Posts: 1
Joined: Tue Sep 13, 2011 11:26 am

Postby james.billings » Wed Sep 14, 2011 2:11 pm

Thanks for your query regarding SQL Data Generator.

Usually, refreshing the schema should get it up-to-date with the server, although depending on what generators you used on the fields in question, you may need to go and alter some settings there.
Does the problem still occur if you just start a *new* project with the updated schema rather than re-opening the old one? If not, then it sounds like something is stored in the project that doesn't get updated.

If you could send over a simple reproduction to, quoting F0052169 in the subject line then we can investigate in more detail and log a bug if necessary.
Posts: 1121
Joined: Wed Jun 16, 2010 10:10 am
Location: Red Gate

Return to SQL Data Generator Previous Versions

Who is online

Users browsing this forum: No registered users and 0 guests