How do I not save values in db where the primary_key setting and primary_key overlap in sql database? (Android) (Beginner)

Asked 2 years ago, Updated 2 years ago, 50 views

While using sql statements and inserting data into the database as insert statements, it is difficult to implement a way to move over data that overlaps the key without storing it in the database. How should I code it?

android sql database

2022-09-22 14:32

1 Answers

pk is a unique value.

So the same pk is not saved. There will be a key duplication error.


2022-09-22 14:32

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.