This is a discussion on Check constraints for dummies? within the pgsql Novice forums, part of the PostgreSQL category; --> Hey all, I switched from MySQL to Postgres for some reasons. Eg. checks like this could be implemented: CREATE ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hey all, I switched from MySQL to Postgres for some reasons. Eg. checks like this could be implemented: CREATE TABLE table1 ( field1 INTEGER CHECK ((field1 >= 0) AND (field1 <= 10)) ); Is there a tutorial somewhere with some slightly more complex examples? Regards, Christian |