This is a Perl script that generates random orders in the Northwind tables. It does not re-set inventory and it does not take into account the employee territories when generating sales - but it does do a good job of making the orders random enough so that there is little repetition.
I needed it to simulate loads and to generate large databases from which to test analysis services and such. You can also run the script multiple times concurrently to see how well your server is holding up.
You'll need Perl to run the script. You can get it at www.activestate.com for free. It installs very easily.
Author: Claude Seidman
Disclaimer: We hope that the information on these script pages is
valuable to you. Your use of the information contained in these pages,
however, is at your sole risk. All information on these pages is provided
"as -is", without any warranty, whether express or implied, of its accuracy,
completeness, or fitness for a particular purpose...
Back to Database Journal Home