CHECK constraints enforce domain integrity by limiting the values that are accepted by one or more columns.
I use SQL Server 2008 I use a CHECK CONSTRAINT on multiple columns in the same table to try to validate …
sql sql-server check-constraintCREATE TABLE LOCATION ( LOCID VARCHAR2(5) , MINQTY NUMBER , MAXQTY NUMBER , PRIMARY KEY (LOCID) , CONSTRAINT CHECK_LOCID_LENGTH CHECK (LENGTH(LOCID) = 5) , CONSTRAINT …
sql oracle plsql constraints check-constraint