Thank you for your response. I guess it is just something we are wondering about. If we changed Servers or hardware, would there be a chance for duplicates. There is no other specific reason though. Regards, Abhinav ________________________________ From: general-boun...@developer.marklogic.com <general-boun...@developer.marklogic.com> on behalf of Geert Josten <geert.jos...@marklogic.com> Sent: Tuesday, February 13, 2018 8:55 AM To: MarkLogic Developer Discussion; general-requ...@developer.marklogic.com Subject: Re: [MarkLogic Dev General] Unique GUID generation in MarkLogic Hi Abhinav, Can you elaborate on what you mean with ‘unique across environments’? Cheers, Geert From: <general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>> on behalf of abhinav mishra <abhinavmishr...@gmail.com<mailto:abhinavmishr...@gmail.com>> Reply-To: MarkLogic Developer Discussion <email@example.com<mailto:firstname.lastname@example.org>> Date: Tuesday, February 13, 2018 at 8:40 AM To: "general-requ...@developer.marklogic.com<mailto:general-requ...@developer.marklogic.com>" <general-requ...@developer.marklogic.com<mailto:general-requ...@developer.marklogic.com>>, "email@example.com<mailto:firstname.lastname@example.org>" <email@example.com<mailto:firstname.lastname@example.org>> Subject: [MarkLogic Dev General] Unique GUID generation in MarkLogic Hi All, We are exploring ways to generate GUIDs. We just want to be sure that the GUIDs are unique always and we have a requirement that these GUIDs should be even unique across environments. There should not be same GUID in two MarkLogic environments We found sem:uuid-string() function from documentation and seems like a good point to start with. However we are not sure if this method returns unique across environments. Can someone guide or provide more information on GUID generation, any third party open source library which we can use. Regards, Abhinav -- Sent from my iPhone This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
_______________________________________________ General mailing list General@developer.marklogic.com Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general