Monday, 17 September 2012

Check Constraint




CREATE TABLE temp(
eno NUMBER CONSTRAINTS pk_eno PRIMARY KEY,
gender CHAR(1) CHECK (gender IN( 'M','F')));

No comments:

Post a Comment