alter table test add constraint fk_test1 foreign key(test1) refenerces test3(test1)
//添加外键约束,test3表中的test1列为其主键,test1为test表中的要添加的外键
alter table test add constraint ck_test1 check(条件) //添加检查约束,赋值时的约束条件
alter table test add constraint un_test1 unique(test1) //唯一约束,不能重复,可以有一个为空的值
request:请求对象
web容器通过request对象能够获取客户端提交给服务器的信息。
浙公网安备 33010602011771号