Weighted Ranges
ettobias
Posts: 2 New member
The "weighted list" is a very handy generator, but I'm wondering about another type of weighted generator. It would be very handy to create a weighted random range list. Is this possible to create without compiling a new generator? I'd like to be able to do the following:
Low Value - High Value - Weight
0 - 10 - 10
10 - 25 - 20
25 - 50 - 40
50 - 100 - 15
100 - 200 - 8
200 - 500 - 6
500 - 1000 - 1
Within each range, the value would be random. I'm pretty new to Data Generator, so I hope this isn't an easy answer. I've looked in the forum and don't see any questions like this one.
Low Value - High Value - Weight
0 - 10 - 10
10 - 25 - 20
25 - 50 - 40
50 - 100 - 15
100 - 200 - 8
200 - 500 - 6
500 - 1000 - 1
Within each range, the value would be random. I'm pretty new to Data Generator, so I hope this isn't an easy answer. I've looked in the forum and don't see any questions like this one.
Comments
Sadly the weighted list you are seeking is not available in the product.
You will need to generate a new generator, by performing one of the following actions:
Customizing an
existing generator.Creating a new generator.
Creating a custom Python script.
Many Thanks
Eddie
Senior Product Support Engineer
Redgate Software Ltd
Email: support@red-gate.com