On Jan 20, 2011, at 20:51, Sunil Bhardwaj wrote:

> How can we put check constraints on a column in sqlite, while creating a 
> table.
> 
> We want to restrict values for a column in a range say '1 to 10'.


        The standard SQL way works.  Are you experiencing otherwise?  I did a 
google search for "sql check constraint'' and pasted in the first results and 
it worked as expected.

-- 
dustin sallings

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

Reply via email to