I want to create Table with NewsID Unique Constraint.. But Unable to created to Table with Unique Constraint. Here is my query.
[NSString stringWithFormat:@"CREATE TABLE IF NOT EXISTS NewsData (id INTEGER PRIMARY KEY AUTOINCREMENT,UNIQUE NewsId TEXT,NewsValue TEXT,Title TEXT,Region INTEGER)"];
Aucun commentaire:
Enregistrer un commentaire