freehell

2009年10月22日

数据库的创建

摘要: --创建学生数据库create database SMuse SM--创建student表create table student(sno char(9),sname varchar(8) not null, ssex char(2) check(ssex in ('男','女')), --限定性别只能是“男”或者“女”sbirthday date not null,sdept varchar(20),saddress varchar(40) not null,smark smallint check(smark between 550 and 750), -- 阅读全文

posted @ 2009-10-22 21:24 freehell 阅读(176) 评论(0) 推荐(0) 编辑

导航