Comments
2 comments
-
Thanks for your post.
We have logged a support call for you and will email you shortly. -
SQL Data Generator has the ability to run a Python script, so if you have a Python script, variable declarations typically begin with the dollar-sign ($). The question must be, how to get a generated column value and use that in a SQL query. This sounds like you would need a combination of two generators - cross-column and SQL statement.
Add comment
Please sign in to leave a comment.
There are only 3 different Violation Types in that table.
My CSV file includes which Violation Type a given Violation (row) should be. The SQL Data Generator wont let me switch that column away from Foreign Key Generator.
Is there anyway to have a bit more control in those Foreign Keys? Any way to load a number (1-3) to load give a value for the Foreign key.
I was hoping to avoid having to write a script to run afterwards to set those values.