PeterHenell / sql-server-data-producer

Automatically exported from code.google.com/p/sql-server-data-producer
0 stars 1 forks source link

As a user i want to reuse previously used foreign keys in order to have consistency in the database #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
One example:
Insertions   TableName
1   MoneyTransaction
100 DepositLog -- User foreign key from User-table
100 WithdrawalLog -- User foreign key from User-table
100 Transaction (for Deposit) -- use same foreign keys as in item #2
100 Transaction (for Withdrawal) -- use same foreign keys as in item #3

If the data is generated into DataTables, then multiple rows can be stored for 
each execution. Then it should be possible to create a generator that will use 
values sequentially from the other tables rows.

Original issue reported on code.google.com by a03pe...@gmail.com on 17 Dec 2012 at 11:42

GoogleCodeExporter commented 9 years ago

Original comment by a03pe...@gmail.com on 20 Dec 2012 at 11:23

GoogleCodeExporter commented 9 years ago
Just use value from other column now that it have been fixed.

Original comment by m...@peterhenell.se on 26 Dec 2013 at 10:40