Skip to content

Instantly share code, notes, and snippets.

@xenoterracide
Created January 19, 2010 17:47
Show Gist options
  • Save xenoterracide/281118 to your computer and use it in GitHub Desktop.
Save xenoterracide/281118 to your computer and use it in GitHub Desktop.
example create table that uses a CHECK for empty() values
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