会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
DreamList
博客园
首页
新随笔
联系
订阅
管理
2018年9月18日
学习数据库的时候写的一些约束代码
摘要: --增加主键约束//用一个学号作为每个学生的辨认alter table (表名) add constraint PK_student_studentno primary key(studentno); -- 增加非空约束//每个人的名字是非空的alter table (表名) alter colum
阅读全文
posted @ 2018-09-18 16:57 DreamList
阅读(143)
评论(0)
推荐(0)
公告