------------------程序做得再好,数据有问题照样是个死 !

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
)

posted @ 2015-03-19 21:25  俊落笔如歌  阅读(130)  评论(0)    收藏  举报
           人的本事不是与生俱来的,不是你掌握了多少,而是当你面对一个未知问题的时候,你能用多少时间来掌握!       ---------俊落笔如歌