基于MySQL数据库实施完整性约束的研究  被引量:5

Research on Integrity Constraints Based on MySQL Database

在线阅读下载全文

作  者:王丽娟[1,2] 吴东明[1,2] 

机构地区:[1]焦作师范高等专科学校计算机与信息工程学院,河南焦作454000 [2]焦作师范高等专科学校计算机应用技术研究所,河南焦作454000

出  处:《科技创新与应用》2019年第2期72-73,共2页Technology Innovation and Application

摘  要:在实际开发的项目中,一个健壮数据库中的数据一定有很好的完整性约束。在MySQL中,创建数据表和修改数据表时可以对表的各列进行一些操作,用以约束用户对表进行非法的记录插入和更新。文章将对创建表时直接加约束和修改表时添加约束以及删除约束进行研究。In a real-world development project,the data in a robust database must have good integrity constraints.In MySQL,when you create and modify a data table,you can perform operations on its columns to constrain the user from illegally inserting and updating records on the table.The paper will study how to directly constrain when creating a table,and how to add constraints and delete constraints when modifying a table.

关 键 词:完整性 主键 外键 唯一键 非空 默认值 

分 类 号:TP311.1[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象