What do you care about how many characters are changing so long as it
produces unique UUIDS--which it does?

Hal Helms
== See www.ColdFusionTraining.com for info on "Best Practices with
ColdFusion & Fusebox" training, Jan 22-25 ==


-----Original Message-----
From: McCollough, Alan [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 15, 2000 1:12 PM
To: Fusebox
Subject: inserting your own UUID into a db table


Along the lines of Steve N's recommendation to insert your own ID fields
into db tables, I present,
(drumroll)
CF_UUID ! Ta-da! Yeah, yer all saying 'so what..." Well, I'll tell ya what.
This came out of my need to manually stick in a UUID into a table, it
relates to that Crystal Reports thing I mentioned in a separate thread
yesterday.

I tried using the built-in createUUID() function, but if you want to see
some pretty lame UUID, try CFLOOPING it a hundred times. Out of the entire
UUID string, maybe 3 chars will change over the entire loop.

SoOoOo, not willing to use other's UUID tags cuz' I wanted to roll my own, I
cooked up CF_UUID (can you believe NOBODY named their tag CF_UUID yet?),
which went up to the Allaire Tag Gallery.

Ya can also snag a copy at www.anthc.org/skunkworks ...


(and a shameless, seriously shameless plug... Go to www.mp3.com/kittycat and
listen to my songs. I've got one tune hovering at #11 on the
alternative-grunge chart)

Alan McCollough
Web Programmer
Allaire Certified ColdFusion Developer
Alaska Native Medical Center
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to