This project is read-only.

INSERT ordering for in table FK


First of all, thanks for the tool!!! Great help, especially for the Generate Data option!
Wanted to tell you about something I found while working with the Generate Data functionality. I have a table with a reference to itself (think Employees table with a ManagerEmployeeID column that has a FK reference to another row in the same table). When it generated the INSERT scripts for my data, I found there were several items that were out of place and resulted in FK constraint errors.
I worked around it. Just used Query Analyzer to located the problem lines, and moved them to the bottom of the INSERT section for that table.
Would be nice to get this resolved if possible, but not critical.


hfrmobile wrote Jul 15, 2008 at 10:51 AM

Same problem and same workaround too ;-)
Would be really nice to get this solved.

ttajic wrote Jul 29, 2009 at 12:17 PM

Same problem....and it would be REALLY NICE to get this solved...but I imagine this is not trivial....figuring out all the relationships and stuff....

wrote Jan 20, 2010 at 9:49 PM

wrote Feb 14, 2013 at 9:30 PM