Generate 0 until random row then generate 1 until the end
gagnonp
Posts: 2 Bronze 1
I need to generate the value 0 until a certain random row and then generate the value 1 until the end of table
Tagged:
Answers
There is not a default generator with in tool that will generate the data in the manner that you are seeking.
It maybe possible to use either a Regexp Generator or a Python Script that you create.
The links below to the help documentation, explain how to create your own generator and to an example python script
https://documentation.red-gate.com/sdg4/using-generators/generic-generators - see the section on Regexp generator.
https://documentation.red-gate.com/sdg4/using-generators/creating-new-generators
https://documentation.red-gate.com/sdg4/using-generators/example-python-scripts
Many Thanks
Eddie
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com