首页 | 本学科首页   官方微博 | 高级检索  
     

SQL语言中的空值问题
引用本文:潘娜,毛宇光,韩波.SQL语言中的空值问题[J].微机发展,2004,14(12):126-128,131.
作者姓名:潘娜  毛宇光  韩波
作者单位:[1]南京航空航天大学信息科学与技术学院,江苏南京210016 [2]南京大学计算机软件新技术国家重点实验室,江苏南京210093
基金项目:南京大学计算机软件新技术国家重点实验室开放课题基金(G1999032701)
摘    要:结构化查询语言(SQL)是关系数据库中重要的查询语言,同时由于关系数据库中空值存在的必要性,因此在对不完全信息数据库进行SQL操作时,如何正确地处理空值是一个很重要的研究方向。文中简述了SQL语言标准中对空值的描述,从理论角度分析了引入空值后SQL语言的语义变化,同时从应用角度阐述了引入空值后所引发的一系列问题,最后介绍了下一代数据库语言标准SQL3对NULL处理方法的扩充。由于现实数据库信息的不完全性,文中对于如何正确地认识SOL语言中的空值问题具有很大的借鉴意义。

关 键 词:关系数据库  结构化查询语言  空值  三值逻辑
文章编号:1005-3751(2004)12-0126-03

The Null Problem in SQL
PAN Na,MAO Yu-guang.The Null Problem in SQL[J].Microcomputer Development,2004,14(12):126-128,131.
Authors:PAN Na  MAO Yu-guang
Affiliation:PAN Na~1,MAO Yu-guang~
Abstract:SQL is the important query language in relational database and the existence of null in database is essential,so it's a very important research direction of how to handle null values properly when doing with the incomplete information database.This paper describes null in SQL standard,analyzes the change of SQL semantic after inducting null value in theory,and statements the problems arousing by it in application.At last,the extension of null in SQL3 is introduced.Because the information of real database is incomplete,this paper is helpful to deal with the null problem of SQL correctly.
Keywords:relational database  SQL  null  three-valued logic
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号