Quoting "Robertson-Ravo, Neil (RX)" <[EMAIL PROTECTED]>: > > erm... I would say that they are unique. No UUID is the same by its very > definition; thats the point...
Just generate enough and you will get duplicates. But the problem is more with the following: > In CF, you could use : myUUID = Mid(CreateUUID(),1,4); to get the first > 4 chars of a CF generated ID. Apart from using Left() instead of Mid() :-), just because the UUID is unique does not mean the first 4 characters are unique. With 4 ASCII characters you can have only 4 billion different combinations anyway, and with 4 HEX characters only 65536 different combinations. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

