摘要:
一、基本的建库、建表操作(增删改查略去不讲)--创建数据库SchoolCreate database School--使用数据库Use School--创建学生表(SID为自增主键,Ssex有Check约束,且所有字段,均不为空)create table Student(SID int identity not null primary key,Sname nvarchar(30) not null,Sage int not null, Ssex nvarchar(5) check(Ssex='男' or Ssex='女') not null);alter ta 阅读全文
posted @ 2012-09-22 20:23 星星之火116 阅读(1569) 评论(0) 推荐(0)