
数据库
文章平均质量分 55
Yph_Jerry
这个作者很懒,什么都没留下…
展开
-
MySQL 复习存储过程&游标使用
MySQL 存储过程&游标原创 2022-10-11 00:26:41 · 538 阅读 · 1 评论 -
MySQL-50道入门练习
MySQL 经典50题黄色背景都不是自己独立解答出来的,便于以后复习。1. 训练数据库--创建测试数据-- 学生表create table Student(S varchar(10),Sname varchar(10),Sage datetime,Ssex nvarchar(10)) ; insert into Student values('01' , '赵雷' , '1990-01-01' , '男');insert into Student values('02' ,原创 2020-10-21 17:08:12 · 488 阅读 · 0 评论 -
SQL Server六种约束创建
六种约束创建文章目录六种约束创建1. NOT NULL约束2. default约束3. unique约束4. check约束5. primary key约束6. foreign key约束7. 删除约束1. NOT NULL约束 字段设置为not nullcreate table StudentInfo( id int not null, name varchar(8) not null, gender varchar(2) not null,)2. default约束再原创 2020-09-07 17:10:31 · 879 阅读 · 0 评论