This question already has an answer here:

I am planning to store the records in a particular object in an HBase table. I want to know if a new record Id is created lexicographically.

marked as duplicate by glls, Raul, Tushar Sharma, David Reed, battery.cord Feb 27 '18 at 16:34

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.


the salesforce ids are not generated sequentially. But there is prefix format used for generating an id.

the first 3 digits - unique for object example : for accounts, all record ids start with 001 for cases, all record ids start with 005 the next 2 digits - obtained from the Server id (for na1 - D0)

if you are looking at 15 digit ids, then there can be 2 records which have same character sequence but differ only in the case.

Not the answer you're looking for? Browse other questions tagged or ask your own question.