Primary Key

Sir

I would like to know if I am developing an app for single user, can I use (_rownumber+1) as my primary key? and put it in as initial value of my ID column?

0 1 44
1 REPLY 1

i won't do that as if more than one user is using the app at the same time or when offline, you will have two rows with the key value and then the last one wins (overwrites the older one).

Top Labels in this Space