No, not as customer ID... I take it you don't like the CreateUUID()
functions "large" strings?  They are unique at least.


> Well I guess what I am getting at is do I want to use it as a custID
> value...If I can get it through a million iterations then I probably can.
>
>
> Doug
>
>
> ----- Original Message -----
> From: "Joseph Thompson" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[EMAIL PROTECTED]>
> Sent: Monday, November 12, 2001 8:44 PM
> Subject: Re: Help with test
>
>
> > assuming you "seed" it, won't that number also be random?
> >
> > <!---It never hurts to call the randomize function--->
> > <cfset GoodSeed = (Minute(now())&Second(now()))>
> > <cfset GoodSeed = Randomize(GoodSeed)>
> >
> > <cfset RandomID=randRange(11111111,99999999)>
> >
> >
> >
> > > I want to test how many iterations I can put
> > > randRange(11111111,99999999) through before it comes up with a
duplicate
> > > number, can someone help me with script to do so?
> > >
> > >
> > >
> > >
> > > <CF_SIGNATURE
> > >     NAME="Douglas L. Brown"
> > >     EMAIL="[EMAIL PROTECTED]"
> > >     PHONE="714.538.6611"
> > >     WEB="http://www.carnivorepc.com";>
> > >
> > >
> >
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to