消息 142,级别 15,状态 2,第 0 行 约束 'TABLE' 的定义中有语法错误。
use student create table student
( sno char(8) not null primary key ,
sname char (10) not null ,
gender char(2) null ,default '男' ,check (gender='男'
or gender='女'),
sbirth date,
major char (30),
credit int check ( credit>=0 and credit<120),
remark varchar (200)
)