Quoth Simon Slavin <slav...@bigfraud.org>, on 2010-12-26 18:28:28 +0000:
> ... and to do that you create an index on that tuple, and require the index 
> to enforce uniqueness:
> 
> CREATE UNIQUE INDEX tab ON t (a,b)

If you like.  I was referring to CREATE TABLE t (a, b, UNIQUE (a, b)).

   ---> Drake Wilson
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to