标签:username 大小 between arc 添加 tween sse pre 删除
Create Table Users
{
vUserName varchar(18) Not NULL,
vPassword varchar(20) Not NULL
}
Create Table Student
{
Sno char(10) NOT NULL Constraint PK_stu_NO Primary Key,
Sname char(20) NOT NULL,
Ssex cahr(2) NOT NULL Constraint CK_Stu_Sex Check(Ssex in(‘男‘,‘女‘)),
Sage tinyint Constraint CK_Stu_Age Check(Sage between 1 and 80),
Tel char(15) NOT NULL
}
Alter Table Student Drop Constraint CK_Stu_Age
Alter Table Student Drop Column Sage
Alter Table Student Add dBirth datetime
Alter Table Student Alter Column Smajor varchar(20)
drop table student
标签:username 大小 between arc 添加 tween sse pre 删除
原文地址:https://www.cnblogs.com/dongxuelove/p/12940384.html