USE Study GO CREATE TABLE orders( oseq int IDENTITY(1, 1) CONSTRAINT PK_oseq PRIMARY KEY, quantity VARCHAR(20) NULL, indate DATETIME NULL, id VARCHAR(20) CONSTRAINT FK_id REFERENCES customer(id) ) INSERT INTO orders(quantity, id) VALUES(5, 'one') INSERT INTO orders(quantity, id) VALUES(5, 'test')