On 8/21/16, Cecil Westerhof <[email protected]> wrote:
> I have a field subject that I do not want to be empty. That means it should
> not be NULL and it should not contain ''. At the moment I do it like this:
> subject TEXT NOT NULL subject <> ''),
subject TEXT NOT NULL CHECK(subject <> '')
>
> Is there a better way?
>
> --
> Cecil Westerhof
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
--
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users