Created
January 19, 2010 17:47
-
-
Save xenoterracide/281118 to your computer and use it in GitHub Desktop.
example create table that uses a CHECK for empty() values
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CREATE TABLE example ( | |
field TEXT | |
NOT NULL | |
CHECK ( NOT empty( field )) | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment