What are the challenges you face when working across database platforms? Take the survey

Running a Post Script first when click Data Generate?

MijMij Posts: 23 Bronze 1
edited April 24, 2020 6:39PM in SQL Data Generator
Hi, I suddenly have been running into a problem where when I click on "Generate Data" for the project, it tries to run the first Post Script instead of the PreScripts and it causes it to fail because of FK constraints.  Is something wrong with this version, or have I done something wrong?  I removed all scripts and re-added in the correct order but same result with the first Post Script trying to run first.

Best Answer

  • Options
    Tianjiao_LiTianjiao_Li Posts: 684 Rose Gold 5

    Rather to run the post script before the pre-script, it looks like it just shows the errors at the top. It's worth checking the post script is correct. If you can share the scripts, we can take a look as well.
    Kind regards

    Tianjiao Li | Redgate Software
    Have you visited our Help Center?
Sign In or Register to comment.