CREATE TABLE Persons(I INTEGER NOT NULL CHECK (I > 0)); INSERT INTO Persons (I)VALUES (1), (-1); SELECT *FROM Persons;
Standard input is empty
Standard output is empty
Error: near line 5: CHECK constraint failed: Persons
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!