当我执行我的代码时出现此错误:
CREATE TABLE tblContactUs
(
contactUsID uniqueidentifier primary key default (newid()),
name varchar(30) not null,
newsletter VARCHAR(1) constraint check newsletter check(gender in ('Y','N')) default('N'),
dbo.UseLogin foreign key references dbo.UseLogin(userID)
}
答案 0 :(得分:4)
尝试将数据库从master
更改为ProjectjeSQL