Hello

I tried, (with sqlite3 command line) :

create table T(a primary key not null);
create table U(a references T not null);
insert into U values(4)

and it works but i don't want to, because the value 4 is not in T.
I've tried PRAGMA foreign_keys first, but it's the same.

Can someone give me a hint please ?
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to