数据子语言的字符串操作

J. Grant
{"title":"数据子语言的字符串操作","authors":"J. Grant","doi":"10.1145/503643.503682","DOIUrl":null,"url":null,"abstract":"The starting point of this paper is the relational model of data as explained in [i]. We use the terminology table for relation, column for attribute, and row for tuple ([I] page 53). One of the fundamental properties of the relational model is that all the entries in the tables are nondecomposable (atomic) elements ([i] page 76). Such a database is said to be normalized. The usual examples of nonatomic entries in a table are arrays and structures. But if a table has such nonatomic entries it can be transformed into one with atomic entries only ([I] page 77). Normalization simplifies the data structures and operations of the data sublanguage and allows the use of the mathematical theory of relations to give a solid foundation to database theory. It should be noted that character string operations are not included in the usual data sublanguages for databases ([i] Chapters 5-8). Indeed if an entry, like a character string, is nondecomposable then we certainly cannot decompose it by taking a substring of the entry. Yet this means that some simple queries cannot be expressed in the language. Assume first that one column in a table is NAME. Then we may wish to have a query such as: Get all rows where NAME begins with the letter tG1 .","PeriodicalId":166583,"journal":{"name":"Proceedings of the 16th annual Southeast regional conference","volume":"2 4 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1978-04-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"String operations for a data sublanguage\",\"authors\":\"J. Grant\",\"doi\":\"10.1145/503643.503682\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The starting point of this paper is the relational model of data as explained in [i]. We use the terminology table for relation, column for attribute, and row for tuple ([I] page 53). One of the fundamental properties of the relational model is that all the entries in the tables are nondecomposable (atomic) elements ([i] page 76). Such a database is said to be normalized. The usual examples of nonatomic entries in a table are arrays and structures. But if a table has such nonatomic entries it can be transformed into one with atomic entries only ([I] page 77). Normalization simplifies the data structures and operations of the data sublanguage and allows the use of the mathematical theory of relations to give a solid foundation to database theory. It should be noted that character string operations are not included in the usual data sublanguages for databases ([i] Chapters 5-8). Indeed if an entry, like a character string, is nondecomposable then we certainly cannot decompose it by taking a substring of the entry. Yet this means that some simple queries cannot be expressed in the language. Assume first that one column in a table is NAME. Then we may wish to have a query such as: Get all rows where NAME begins with the letter tG1 .\",\"PeriodicalId\":166583,\"journal\":{\"name\":\"Proceedings of the 16th annual Southeast regional conference\",\"volume\":\"2 4 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"1978-04-13\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Proceedings of the 16th annual Southeast regional conference\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1145/503643.503682\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 16th annual Southeast regional conference","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/503643.503682","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

摘要

本文的出发点是[i]中解释的数据的关系模型。我们用术语表表示关系,用列表示属性,用行表示元组(第53页)。关系模型的基本属性之一是表中的所有条目都是不可分解的(原子)元素(第76页)。这样的数据库被称为规范化的。表中非原子条目的常见示例是数组和结构。但是,如果一个表有这样的非原子项,则可以将其转换为只包含原子项的表(第77页)。规范化简化了数据子语言的数据结构和操作,并允许使用关系的数学理论为数据库理论奠定坚实的基础。应该注意的是,字符串操作不包括在数据库的常用数据子语言中(第5-8章)。事实上,如果一个条目,比如一个字符串,是不可分解的,那么我们当然不能通过取该条目的子字符串来分解它。然而,这意味着一些简单的查询不能用该语言表示。首先假设表中的一列是NAME。然后,我们可能希望有这样一个查询:获取NAME以字母tG1开头的所有行。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
String operations for a data sublanguage
The starting point of this paper is the relational model of data as explained in [i]. We use the terminology table for relation, column for attribute, and row for tuple ([I] page 53). One of the fundamental properties of the relational model is that all the entries in the tables are nondecomposable (atomic) elements ([i] page 76). Such a database is said to be normalized. The usual examples of nonatomic entries in a table are arrays and structures. But if a table has such nonatomic entries it can be transformed into one with atomic entries only ([I] page 77). Normalization simplifies the data structures and operations of the data sublanguage and allows the use of the mathematical theory of relations to give a solid foundation to database theory. It should be noted that character string operations are not included in the usual data sublanguages for databases ([i] Chapters 5-8). Indeed if an entry, like a character string, is nondecomposable then we certainly cannot decompose it by taking a substring of the entry. Yet this means that some simple queries cannot be expressed in the language. Assume first that one column in a table is NAME. Then we may wish to have a query such as: Get all rows where NAME begins with the letter tG1 .
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信