How to apply constraint on multiple field after creating table in sql server?
Answers
Answered by
0
CREATE TABLE x( x VARCHAR2(20), y NUMBER(2) NOT NULL, CONSTRAINT fk_cons FOREIGN KEY(x) REFERENCES user_info(user_id), CONSTRAINT null_cons CHECK(x IS NOT NULL) )
Similar questions