How about CreateUUID()? -- Mosh Teitelbaum evoch, LLC Tel: (301) 625-9191 Fax: (301) 933-3651 Email: [EMAIL PROTECTED] WWW: http://www.evoch.com/
> -----Original Message----- > From: Adrian Lynch [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, October 02, 2002 10:42 AM > To: CF-Talk > Subject: Random Stuff > > > I have a udf that creates a random string that works great. The > problem is, > looping over this for multiple inserts into a db causes problems > because it > loops to quickly. Someone mentioned that all the random functions > in CF use > the current time/date as a seed. The way around this is to either > slow down > the loop, or to append something on the end of the string, in > this case the > index of the loop. > > Does anyone have a way to generate random numbers as fast as I need them? > > Adrian Lynch > Thoughtbubble Ltd > ---------------------- > United Kingdom > http://www.thoughtbubble.net > Ph: +44 (0) 20 7387 8890 > ---------------------- > The information in this email and in any attachments is confidential and > intended solely for the attention and use of the named addressee(s) . Any > views or opinions presented are solely those of the author and do not > necessarily represent those of Thoughtbubble. This information may be > subject to legal, professional or other privilege and further distribution > of it is strictly prohibited without our authority. If you are not the > intended recipient, you are not authorised to disclose, copy, > distribute, or > retain this message. Please notify us on +44 (0) 20 7387 8890 > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com