use School
if exists (select*from sysobjects where name='Teacher')
drop table Teacher
go
create table Teacher
(
Id int primary key identity(1,1), --参数第一个种子 第二个增量
Name nvarchar(50) not null, --not null 标记不能为空 如果没有标记 not null 说明可为null
Gender char(2) not null,
Age int not null,
Salary money null,
Birthday datetime
)