SQL制表
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
)
人的本事不是与生俱来的,不是你掌握了多少,而是当你面对一个未知问题的时候,你能用多少时间来掌握!

浙公网安备 33010602011771号