Answer the question
In order to leave comments, you need to log in
Whether it is admissible to store id in the form of text in SQLite?
Hello! I have a question. In an android application, I interact with the ASP.NET backend and in JSON files I receive keys like "id": "854a8d07-5a37-4e1e-8547-40ce891b3663". Tell me, is it acceptable to store such keys as strings in the database, or is there any better way to store them?
Answer the question
In order to leave comments, you need to log in
varchar(36) not text
This is better than auto-incrementing numeric id's
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question