Hello,
I have a sqlite 3.3.4 app using a db with the following schema:

CREATE TABLE my_data(n INTEGER KEY, s INTEGER, p INTEGER, od VARCHAR);

Is the KEY keyword utilized?
Will it act the same as a primary key ?


Ultimately, i'm trying to determine if the KEY will enforce a unique
constraint, such that the following insert's conflict clause would even be
necessary.

INSERT OR REPLACE INTO elevator_data (id, schedule, panel,
output_data) VALUES ....


thanks,
ed
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to