CHECK constraint matching beginning of value
We are using sqlite3 for a database and ensuring values inserted into a column matching a specific string would be useful in our case. Example: CREATE TABLE people ("firstname" TEXT), CHECK(LIKE(‘ca%’,"firstname")); The error we see is that sqlite3 gives this error: Parse error: near "CHECK": syntax error CREATE TABLE people ("firstname" TEXT), CHECK(LIKE(‘ca%’,"firstname")); error here… Read More CHECK constraint matching beginning of value