Re: Is randomblob(16) a good guid generation across multiple computers?
Richard Hipp <[email protected]> Thu, 20 Feb 2020 13:51:03 -0500
| Newsgroups | gmane.comp.db.sqlite.general |
|---|---|
| Message-ID | <CALwJ=MwPwmrmBBh1oBJ_3jh0v226WL+dmaUaUXnCQxG5_nuk4Q@mail.gmail.com> |
On 2/20/20, Keith Medcalf <[email protected]> wrote: > > randomblob(16) does not generate a valid UUID (it does not set the version > and variant flags in the resulting 16-bytes of random data). If you need a UUID in the "standard format", rather than just an ID that its universally unique, you can use the uuid.c extension: https://www.sqlite.org/src/artifact/5bb2264c1b64d163 -- D. Richard Hipp [email protected] _______________________________________________ sqlite-users mailing list [email protected] http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users