日期:2014-05-17 浏览次数:20515 次
create table Student
(
S# varchar(50),
Sname varchar(50) not null,
Ssex varchar(2)
);
insert into Student values (1,'张三',1);
insert into Student values (2,'李四',0);
insert into Student values (3,'王五',1);
create view V_Student as
select S#,SName from Student;
alter table Student alter column Sname varchar(50) null
insert into v_student values ('1',null)
select * from student