RizlaUK
02-26-2010, 03:57 PM
ok, im typeing line after line of SQL querys adding test data to a database thinking "there must be a way to automate this" as i want to stress test my app with the database and my dialogs i needs loads of data, but i dont just wand random text i want coherent data
so after a quick google and saw many random name generators but non did what i wanted and all were not free
so i started this script that has tables of male first, female first, and last names and a few functions to retrive a random set forming a name and email address
but this still isent enough, i need random addresses too, but now im getting stuck for time
if anyone fancy s giving me 100 random address sets id be grateful
format and requirments:
road names, as many as you can think of (target 1000)
tADDRESS_RoadName[1]="Merrydown"
tADDRESS_RoadName[1]="Ashworth"
tADDRESS_RoadName[1]="Faylen"
just random citys will do (target 1000+)
tADDRESS_City[1]="NewYork"
tADDRESS_City[2]="Paris"
tADDRESS_City[3]="London"
tADDRESS_City[4]="Pekham"
any random zip/postal code will do (target 1000+)
tADDRESS_Zip[1]="ORJ 518"
tADDRESS_Zip[2]="W23 HGJ"
tADDRESS_Zip[3]="XPG 667"
road types, need some more
tADDRESS_RoadType[1]="Road"
tADDRESS_RoadType[1]="Avenue"
tADDRESS_RoadType[1]="Close"
email suffix, need more
tEMAIL_Suffix[1]="googlemail.com"
tEMAIL_Suffix[2]="rocketmail.com"
tEMAIL_Suffix[3]="yahoo.co.uk"
what iv got
1000 english female names
300 english male names
1000 english last names
and im adding names from other country's
when this is done i will release the script, this will be handy for anyone that wants/needs to fill a database with random people (quickly) and have coherent readable data
so after a quick google and saw many random name generators but non did what i wanted and all were not free
so i started this script that has tables of male first, female first, and last names and a few functions to retrive a random set forming a name and email address
but this still isent enough, i need random addresses too, but now im getting stuck for time
if anyone fancy s giving me 100 random address sets id be grateful
format and requirments:
road names, as many as you can think of (target 1000)
tADDRESS_RoadName[1]="Merrydown"
tADDRESS_RoadName[1]="Ashworth"
tADDRESS_RoadName[1]="Faylen"
just random citys will do (target 1000+)
tADDRESS_City[1]="NewYork"
tADDRESS_City[2]="Paris"
tADDRESS_City[3]="London"
tADDRESS_City[4]="Pekham"
any random zip/postal code will do (target 1000+)
tADDRESS_Zip[1]="ORJ 518"
tADDRESS_Zip[2]="W23 HGJ"
tADDRESS_Zip[3]="XPG 667"
road types, need some more
tADDRESS_RoadType[1]="Road"
tADDRESS_RoadType[1]="Avenue"
tADDRESS_RoadType[1]="Close"
email suffix, need more
tEMAIL_Suffix[1]="googlemail.com"
tEMAIL_Suffix[2]="rocketmail.com"
tEMAIL_Suffix[3]="yahoo.co.uk"
what iv got
1000 english female names
300 english male names
1000 english last names
and im adding names from other country's
when this is done i will release the script, this will be handy for anyone that wants/needs to fill a database with random people (quickly) and have coherent readable data