I need to restict adding more than 4 rows to the table.
I tried this but it doesnt work:
CREATE VIEW count_rows AS SELECT COUNT(*) as yy FROM t6;
ALTER TABLE t6 ADD CONSTRAINT max_4_rows check(4<count_rows.yy);
please help...
I tried this but it doesnt work:
CREATE VIEW count_rows AS SELECT COUNT(*) as yy FROM t6;
ALTER TABLE t6 ADD CONSTRAINT max_4_rows check(4<count_rows.yy);
please help...