As others have said, you can use a GUID / UUID in almost any modern database. The GUID generation algorithm is pretty simple, and you can be pretty sure you wonβt cheat, but there are some considerations.
+) Although the GUIDs are usually 128 bit values, the actual format used is different from implementation to implementation β you may want to normalize them by removing non-essential characters (usually dashes or spaces).
+) To ensure uniqueness, you can also add a value to guid. For example, if you are worried that MS and Oracle are facing conflicts, add βMSβ to the former and βOrβ to the latter β now, even if the guides themselves collide, their keys will not.
, , : (128 ) ( ).
( , ), , , .
, , - . , , :
1) , . , , , , . .
2) "" , ( ). , , (, ).
( ) .
- , - DB - , , . .
. , , ..
, , , , , a) b) ( , ). , " + ".