• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Name

CreateUUID

Synopsis

                    CreateUUID( )

Creates a universally unique identifier (UUID). UUIDs are 35-character representations of 128-bit strings, where each character is a hexadecimal value in the range 0-9 and A-F. UUIDs are used when you need to create a unique identifier (such as a user ID or primary key value). UUIDs are guaranteed to be unique and are assigned randomly on most operating systems. Note that the format that ColdFusion uses for UUIDs is not the same format used by Microsoft and DCE. ColdFusion UUIDs follow the format xxxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxxxx whereas Microsoft/DCE UUIDs are formatted as xxxxxxxx-xxxx-xxxx-xxxxxx-xxxxxxxxxx. If you need a UUID that follows the Microsoft/DCE format, see the CreateGUID( ) UDF available at http://www.cflib.org. Example:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint