简体   繁体   中英

UUID in OpenOffice.org Base

How would one go about using a UUID as a primary key in an OpenOffice.org Base database?

I have a need to gather data on multiple, unnetworked PCs that I can't install software on (I am using OpenOffice.org Portable). After gathering data, it will be merged into a single database.

I believe that a UUID/GUID is the ideal solution, but for all my Googling and fiddling with the software, I can't figure out how to actually implement it.

(If there is no solution, is there any alternate approach?)

I do not know how to implement UUID, but you could take something like the MAC number of the computer. Before spending a lot of time on this, you should consider how many computers that you would have at most and the damage caused by two machines having the same ID. With UUID is is probably something like zero with even a billion machines, but if you only expect a thousand machines then maybe the MAC address will be alright.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM